diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-08-20 13:18:03 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-08-20 13:19:00 +0300 |
commit | 9bd305be91fd5f7c3b77998ce7dc53e825ff3a89 (patch) | |
tree | 777cd51c91c3cb60860dd7ab16e170ed904278d9 | |
parent | db91e0edb63afc682ae709f73e3732a4c832944d (diff) |
lavf/mpeg: Allow users to force audio codec MLP.
Fixes part of ticket #4786.
-rw-r--r-- | libavformat/mpeg.c | 2 |
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); |