mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mp3enc: switch to AVFMT_FLAG_BITEXACT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d524d424ec
commit
fab50573bb
|
@ -125,7 +125,7 @@ static int mp3_write_xing(AVFormatContext *s)
|
||||||
int xing_offset;
|
int xing_offset;
|
||||||
int ver = 0;
|
int ver = 0;
|
||||||
int bytes_needed;
|
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)
|
if (!s->pb->seekable || !mp3->write_xing)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue