From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 79751452FD for ; Tue, 17 Jun 2025 20:32:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id F026D68D0FE; Tue, 17 Jun 2025 23:32:25 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 9E2DC68CB22 for ; Tue, 17 Jun 2025 23:32:18 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id D38DD4421D for ; Tue, 17 Jun 2025 20:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1750192338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=EWGpmCkyitUgNT8F223XzouV9ykTGKrszOyCkOy0Sb8=; b=Op4+9jbGyGx/3ClsVRDPQcEJC6kwhom4/5FSjNt21fMQ07lXzgahRN4tFquPHcASd/NqWi kORLtkPk6eLNb7fH2DdSe4Qg49aTbA+v+g9DBWUStoBaz5yqFF1xxk2Dr57EyaTIkHbb42 Wwr9L/0ySc22UJtPXE908cDAYUNfR+y7sFVZV5z0kZ+fQj+28Edx1eL659cWYlz3TzdS4a Y9A3VVXY+l3VHonQcnu7Z/abSidDBYB3EOeXXjVf94jBRV97UrKbWNmxbSg+Hk/Ka1PoTU W/E5ZgN1mv5rzJTmuwKWQ0d/lIoZkFcdIzHM8lxa19z5cSX5CSd6TpNe9R8gjA== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 17 Jun 2025 22:32:16 +0200 Message-ID: <20250617203216.4117940-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgdduudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpefhledvvdehgfettdefueevtdeifffhkeeljeetjeeugfelgfffieduheevvefgvdenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH] avcodec/osq: Request a coding mode 2 sample X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: Michael Niedermayer --- 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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".