mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 09:53:18 +00:00
avcodec/osq: Request a coding mode 2 sample
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a5f861d335
commit
f8e30d9eeb
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@ static int osq_channel_parameters(AVCodecContext *avctx, int ch)
|
|||
cb->residue_parameter = get_urice(gb, 4);
|
||||
if (!cb->residue_parameter || cb->residue_parameter >= 31)
|
||||
return AVERROR_INVALIDDATA;
|
||||
if (cb->coding_mode == 2)
|
||||
avpriv_request_sample(avctx, "coding mode 2");
|
||||
} else if (cb->coding_mode == 3) {
|
||||
cb->residue_bits = get_urice(gb, 4);
|
||||
if (!cb->residue_bits || cb->residue_bits >= 31)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue