aboutsummaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2015-08-20 12:18:03 +0200
committerCarl Eugen Hoyos2015-08-20 12:19:00 +0200
commit9bd305be91fd5f7c3b77998ce7dc53e825ff3a89 (patch)
tree777cd51c91c3cb60860dd7ab16e170ed904278d9 /libavformat/mpeg.c
parentdb91e0edb63afc682ae709f73e3732a4c832944d (diff)
lavf/mpeg: Allow users to force audio codec MLP.
Fixes part of ticket #4786.
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index edb134f740..787d5f0033 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);