avformat/framehash: switch to AVFMT_FLAG_BITEXACT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-18 04:02:44 +02:00
parent 9646ea63df
commit 17c8a06916

View File

@ -24,7 +24,7 @@ int ff_framehash_write_header(AVFormatContext *s)
{
int i;
if (s->nb_streams && !(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT))
if (s->nb_streams && !(s->flags & AVFMT_FLAG_BITEXACT))
avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT);
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];