avformat/mmf: 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:20 +0000 (04:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mmf.c

index cb87a6d..a023dd6 100644 (file)
@@ -69,7 +69,7 @@ static int mmf_write_header(AVFormatContext *s)
     AVIOContext *pb = s->pb;
     int64_t pos;
     int rate;
-    const char *version = s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT ?
+    const char *version = s->flags & AVFMT_FLAG_BITEXACT ?
                           "VN:Lavf," :
                           "VN:"LIBAVFORMAT_IDENT",";