[FFmpeg-cvslog] avformat/mp3enc: use initial_padding
Michael Niedermayer
git at videolan.org
Tue Oct 14 03:58:21 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 14 03:53:17 2014 +0200| [d58fa9482e9da53e761497760f68f491999dc028] | committer: Michael Niedermayer
avformat/mp3enc: use initial_padding
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d58fa9482e9da53e761497760f68f491999dc028
---
libavformat/mp3enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 7e6b2e1..a0ba596 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -218,7 +218,7 @@ static int mp3_write_xing(AVFormatContext *s)
avio_w8(s->pb, vendor[i]);
for (; i < 21; ++i)
avio_w8(s->pb, 0);
- avio_wb24(s->pb, FFMAX(codec->delay - 528 - 1, 0)<<12);
+ avio_wb24(s->pb, FFMAX(codec->initial_padding - 528 - 1, 0)<<12);
ffio_fill(s->pb, 0, mpah.frame_size - bytes_needed);
More information about the ffmpeg-cvslog
mailing list