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 2DF0448931 for ; Tue, 15 Jul 2025 18:49:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id DB79C68E33F; Tue, 15 Jul 2025 21:49:25 +0300 (EEST) Received: from sender-op-o11.zoho.eu (sender-op-o11.zoho.eu [136.143.169.11]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id E75E668E2A2 for ; Tue, 15 Jul 2025 21:49:18 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; t=1752605352; cv=none; d=zohomail.eu; s=zohoarc; b=KtOR2VDY+xPlFkPVeNHywYYRiqEHB5rjk9teHhbhy2XMZ0A3K4HDJHQUr+c+bMqUFNXEDocQhUTuOSb/wxyMzNZxKcQmNwZn3pSgtEDG04XucgSBRAKOyNNrfkZt+bRJi0IOAYNaDLurRrbCWRGIrihWUqeinZ9cVNi1m54yEVk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1752605352; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=qpO0jrNo3XE+Oo5ynUqNuypDUlUad8umdLyuAd3eRwI=; b=DEjD0V1FzlwtivQtIpBFATMxkO+Zi2oERET6Sk8XcF2fzqnePJYGP5g5A4svA5hF8RSon4oP3LjrFc616B8zBtJR9Wc5tGAJW2Y1II8o+Qpp5rcqSGSsSYTpw8jYaond8OkwvgHqUe0Unet3G2syYV1Q5XUwKLaerNxm9Xnxir0= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=frankplowman.com; spf=pass smtp.mailfrom=post@frankplowman.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1752605352; s=zmail; d=frankplowman.com; i=post@frankplowman.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=qpO0jrNo3XE+Oo5ynUqNuypDUlUad8umdLyuAd3eRwI=; b=O1HiHBqM3gRvCxR7TUz/8D97XXzBs9dbSD7nyhzzTdkZEwZtVbLEtHrYTCkehMmo HjEk1MlcWtlwBaSJ2w7FF2G8/3ySZjGU+RF9y3E2FpAMyqkeTPbqcixbx7EeSgyLzv5 jP+Oc2jxwgkx43KfwCbl03mYRGLpp2deNA9zpG8k= Received: by mx.zoho.eu with SMTPS id 1752605349413113.88935761439257; Tue, 15 Jul 2025 20:49:09 +0200 (CEST) From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Date: Tue, 15 Jul 2025 19:48:44 +0100 Message-ID: <20250715184905.25488-1-post@frankplowman.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-ZohoMailClient: External Subject: [FFmpeg-devel] [PATCH v2 1/2] lavc/vvc: Don't discard palette_subblock_data return code 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 Cc: Frank Plowman , nuomi2021@gmail.com, toqsxw@outlook.com 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: Frank Plowman --- libavcodec/vvc/ctu.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index cf7edccb8b..35c18e78f6 100644 --- a/libavcodec/vvc/ctu.c +++ b/libavcodec/vvc/ctu.c @@ -2118,9 +2118,12 @@ static int hls_palette_coding(VVCLocalContext *lc, const VVCTreeType tree_type) palette_qp(lc, tree_type, escape_present); index[0] = 0; - for (int i = 0; i <= (cu->cb_width * cu->cb_height - 1) >> 4; i++) - palette_subblock_data(lc, max_index, i, transpose, + for (int i = 0; i <= (cu->cb_width * cu->cb_height - 1) >> 4; i++) { + ret = palette_subblock_data(lc, max_index, i, transpose, run_type, index, &prev_run_pos, &adjust); + if (ret < 0) + return ret; + } return 0; } -- 2.47.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".