diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-24 18:06:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-24 18:06:26 +0200 |
commit | 279b2a4deb3be0c6f6997b3b4b9897192a9ab7e0 (patch) | |
tree | 925eea4631b37e7d00b16f5b473420a7a753303c /libavformat/mp3dec.c | |
parent | 2dbee1a3935a91842c22eb65fd13f77e8d590e07 (diff) | |
download | ffmpeg-279b2a4deb3be0c6f6997b3b4b9897192a9ab7e0.tar.gz |
avformat/mp3dec: also accept Lavc as shortname to read delays
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r-- | libavformat/mp3dec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 88256ef475..8208dbb628 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; |