avformat/framehash: switch to AVFMT_FLAG_BITEXACT
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 18 May 2014 02:02:44 +0000 (04:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 18 May 2014 02:04:32 +0000 (04:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/framehash.c

index f97f59b..f075c40 100644 (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];