From 279b2a4deb3be0c6f6997b3b4b9897192a9ab7e0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 24 Oct 2014 18:06:26 +0200 Subject: avformat/mp3dec: also accept Lavc as shortname to read delays Signed-off-by: Michael Niedermayer --- libavformat/mp3dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat') 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; -- cgit v1.2.3