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

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


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

avformat/mp3enc: 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=fab50573bb9285c14e7dfe70aa04db4897f56322
---

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

diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 9c9bd5e..eeaff1e 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -125,7 +125,7 @@ static int mp3_write_xing(AVFormatContext *s)
     int xing_offset;
     int ver = 0;
     int bytes_needed;
-    const char *vendor = (codec->flags & CODEC_FLAG_BITEXACT) ? "Lavf" : LIBAVFORMAT_IDENT;
+    const char *vendor = (s->flags & AVFMT_FLAG_BITEXACT) ? "Lavf" : LIBAVFORMAT_IDENT;
 
     if (!s->pb->seekable || !mp3->write_xing)
         return 0;



More information about the ffmpeg-cvslog mailing list