aboutsummaryrefslogtreecommitdiff
path: root/libavformat/mp3enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer2014-05-18 04:02:44 +0200
committerMichael Niedermayer2014-05-18 04:03:45 +0200
commitfab50573bb9285c14e7dfe70aa04db4897f56322 (patch)
tree54495f1557bd8604a9c7c2e1f9d15155dd16b3a3 /libavformat/mp3enc.c
parentd524d424ec983b6f796938d0a4bb43221643c6c3 (diff)
avformat/mp3enc: switch to AVFMT_FLAG_BITEXACT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r--libavformat/mp3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 9c9bd5e862..eeaff1e883 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;