[FFmpeg-cvslog] avformat/mp3dec: also accept Lavc as shortname to read delays

Michael Niedermayer git at videolan.org
Fri Oct 24 18:59:57 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 24 18:06:26 2014 +0200| [279b2a4deb3be0c6f6997b3b4b9897192a9ab7e0] | committer: Michael Niedermayer

avformat/mp3dec: also accept Lavc as shortname to read delays

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=279b2a4deb3be0c6f6997b3b4b9897192a9ab7e0
---

 libavformat/mp3dec.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 88256ef..8208dbb 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -215,7 +215,9 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st,
     /* Encoder delays */
     v= avio_rb24(s->pb);
     if(AV_RB32(version) == MKBETAG('L', 'A', 'M', 'E')
-        || AV_RB32(version) == MKBETAG('L', 'a', 'v', 'f')) {
+        || AV_RB32(version) == MKBETAG('L', 'a', 'v', 'f')
+        || AV_RB32(version) == MKBETAG('L', 'a', 'v', 'c')
+    ) {
 
         mp3->start_pad = v>>12;
         mp3->  end_pad = v&4095;



More information about the ffmpeg-cvslog mailing list