diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-04 22:22:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-14 17:20:22 +0200 |
commit | 57d5a224cec3d2f8e2c6c1140d312f17ed340740 (patch) | |
tree | 496de9dc1d99e1c6572d8197b4ec6583c46eb315 /libavformat/mp3dec.c | |
parent | 7b521c52c41471fa682a90248632d0d0d7333e59 (diff) | |
download | ffmpeg-57d5a224cec3d2f8e2c6c1140d312f17ed340740.tar.gz |
mp3enc: add lame tag with start padding info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r-- | libavformat/mp3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 2b8aa37dad..5300ab161e 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -116,7 +116,7 @@ static int mp3_parse_vbr_tags(AVFormatContext *s, AVStream *st, int64_t base) avio_skip(s->pb, 4); v = avio_rb32(s->pb); - if(v == MKBETAG('L', 'A', 'M', 'E')) { + if(v == MKBETAG('L', 'A', 'M', 'E') || v == MKBETAG('L', 'a', 'v', 'f')) { avio_skip(s->pb, 21-4); v= avio_rb24(s->pb); mp3->start_pad = v>>12; |