[FFmpeg-cvslog] avformat/mmf: switch to AVFMT_FLAG_BITEXACT

Michael Niedermayer git at videolan.org
Sun May 18 04:41:04 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 18 04:02:44 2014 +0200| [9646ea63df78fe79b2f9fa3e8a0f08e48bd074bb] | committer: Michael Niedermayer

avformat/mmf: switch to AVFMT_FLAG_BITEXACT

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9646ea63df78fe79b2f9fa3e8a0f08e48bd074bb
---

 libavformat/mmf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index cb87a6d..a023dd6 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -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",";
 



More information about the ffmpeg-cvslog mailing list