On Tue, Jun 17, 2025 at 10:32:16PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
> ---
>  libavcodec/osq.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/osq.c b/libavcodec/osq.c
> index 025be667a35..0de9af5f623 100644
> --- a/libavcodec/osq.c
> +++ b/libavcodec/osq.c
> @@ -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\n");

nit: there is no need for newline character with avpriv_request_sample()

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to