avformat/mp3dec: also accept Lavc as shortname to read delays
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2dbee1a393
commit
279b2a4deb
@ -215,7 +215,9 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st,
|
|||||||
/* Encoder delays */
|
/* Encoder delays */
|
||||||
v= avio_rb24(s->pb);
|
v= avio_rb24(s->pb);
|
||||||
if(AV_RB32(version) == MKBETAG('L', 'A', 'M', 'E')
|
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->start_pad = v>>12;
|
||||||
mp3-> end_pad = v&4095;
|
mp3-> end_pad = v&4095;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user