From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 36A444AF35 for ; Tue, 25 Jun 2024 17:06:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 324BB68D61B; Tue, 25 Jun 2024 20:06:30 +0300 (EEST) Received: from sender-op-o11.zoho.eu (sender-op-o11.zoho.eu [136.143.169.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7D69B68D26B for ; Tue, 25 Jun 2024 20:06:23 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; t=1719335181; cv=none; d=zohomail.eu; s=zohoarc; b=AvJ381/7BkV4bVxpWeUaOzkzISMtq7oeK94HW9T6/1jVs5gu53dglucuMIeSCf0zdfwiIbyc3XXXv98bMKtGkyWTQomx0BswjTSoco7BphUYheizO0yYj6bdyF+3IVE/iPGFWv9sjbcKVqND7e0KKIfJQ9IsH2RLXWIwpfHJzP8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1719335181; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=1l1dNewiOv608CLZVrtt+7oM9Dnk00yFk5+wgesa+Wo=; b=ioc+B8FGGLyP4uUXu+FBdiBMlfVcZPN0WZuCHGVgFEUJo+6QOGa8Lo+4IpOcXUqopYmZ+Oe6UfwyPFhuEuda/GEC9cn+h8p6ICI6i3hhphSoh02Uo+LdhSltqlhbz1Nu0Nm8jcyMr4BIALv7ZL6ivUGJQIPdooZoYFVyWcNcm2o= 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=1719335181; 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=1l1dNewiOv608CLZVrtt+7oM9Dnk00yFk5+wgesa+Wo=; b=dCxfZCpFwOh88m/uY+mxrMyXtACneCJvwftvkLxTqvWkv9v7dFozzs1Zhp54L54R uouOa7aNVupkEZdExT8JZgivZuecEcY4lfqBAZlayJw6my4+J5teeEGxyyjFD02MqZ/ 52nzgLpxJVrimcRqC3pjfiGCNruuyxoFvUguWWN8= Received: by mx.zoho.eu with SMTPS id 1719335180326793.6362640785344; Tue, 25 Jun 2024 19:06:20 +0200 (CEST) From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Date: Tue, 25 Jun 2024 18:03:48 +0100 Message-ID: <20240625170616.43181-1-post@frankplowman.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-ZohoMailClient: External Subject: [FFmpeg-devel] [PATCH] lavc/vvc: Don't discard return codes 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 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/thread.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/vvc/thread.c b/libavcodec/vvc/thread.c index c90c316661..118d56b67e 100644 --- a/libavcodec/vvc/thread.c +++ b/libavcodec/vvc/thread.c @@ -443,8 +443,11 @@ static int run_inter(VVCContext *s, VVCLocalContext *lc, VVCTask *t) { VVCFrameContext *fc = lc->fc; const CTU *ctu = fc->tab.ctus + t->rs; + int ret; - ff_vvc_predict_inter(lc, t->rs); + ret = ff_vvc_predict_inter(lc, t->rs); + if (ret < 0) + return ret; if (ctu->has_dmvr) report_frame_progress(fc, t->ry, VVC_PROGRESS_MV); @@ -454,9 +457,7 @@ static int run_inter(VVCContext *s, VVCLocalContext *lc, VVCTask *t) static int run_recon(VVCContext *s, VVCLocalContext *lc, VVCTask *t) { - ff_vvc_reconstruct(lc, t->rs, t->rx, t->ry); - - return 0; + return ff_vvc_reconstruct(lc, t->rs, t->rx, t->ry); } static int run_lmcs(VVCContext *s, VVCLocalContext *lc, VVCTask *t) -- 2.45.1 _______________________________________________ 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".