mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavf/mpeg: Allow users to force audio codec MLP.
Fixes part of ticket #4786.
This commit is contained in:
parent
db91e0edb6
commit
9bd305be91
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue