X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fmpeg.c;h=787d5f0033c4b27b35aaf91a6f5e7bcbe1df2f0c;hb=26a0cd1b4b093f3f6e4f15d28a282ec45b87bb98;hp=edb134f7405d54ce01085eb6dc13bd9651ba9a0f;hpb=94d68a41fabb55dd8c7e59b88fe4a28a637d1e5f;p=ffmpeg diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index edb134f7405..787d5f0033c 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -612,7 +612,7 @@ found: if (st->discard >= AVDISCARD_ALL) goto skip; if (startcode >= 0xa0 && startcode <= 0xaf) { - if (lpcm_header_len == 6 && st->codec->codec_id == AV_CODEC_ID_MLP) { + if (st->codec->codec_id == AV_CODEC_ID_MLP) { if (len < 6) goto skip; avio_skip(s->pb, 6);