[FFmpeg-devel] [PATCH] avcodec/osq: Request a coding mode 2 sample
Michael Niedermayer
michael at niedermayer.cc
Tue Jun 17 23:32:16 EEST 2025
Signed-off-by: Michael Niedermayer <michael at 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");
} else if (cb->coding_mode == 3) {
cb->residue_bits = get_urice(gb, 4);
if (!cb->residue_bits || cb->residue_bits >= 31)
--
2.49.0
More information about the ffmpeg-devel
mailing list