avformat/mmf: 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 0421409c52
commit 9646ea63df

View 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",";