Message ID | 20241014152532.78427-1-nuomi2021@gmail.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:998b:0:b0:48e:c0f8:d0de with SMTP id g11csp2242738vqn; Mon, 14 Oct 2024 12:04:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXkV882m5yO1EOuV/uoxOiuwEUfJTajHOXuwR6weATIfvr146g47UWnU8FW4a7NfoavUkuoSn584dTIpHtbJNUt@gmail.com X-Google-Smtp-Source: AGHT+IH8g6CTXg3oNSDtqsRkU9jy5St8AcTZYDt01ykL6fG57PO3yh2Yj6zEimrCNiQmQwFJkw4i X-Received: by 2002:a05:651c:19a3:b0:2fa:bba7:2699 with SMTP id 38308e7fff4ca-2fb32715fb8mr51175521fa.16.1728932648400; Mon, 14 Oct 2024 12:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728932648; cv=none; d=google.com; s=arc-20240605; b=afoAM7HRT5Ku6MNCoW+GXrtW9JhevrtLXlHVIlzjN21v49jaNcG1cUU60dM8KcgSxA CSQJt/+21bdQumzmmdhGlZzXY3+hCNJsKnlYaoqepgRVb5SxinmvuwTxSqlr5+ky9CbK OEu1S7cq+aHQUcnfOPOlHwxsb/XE41kUgwgbYp/WCtvUf8Bqd8CBkewFwWKFTbrNZq8u g2ow8uoum/7hVQ9wyw+2r69LjKGxXT68s/grFE0VS59X/UFL3OJf3Au/QslhQ6apE+oV i2KVBKvFJ6YgadFLX1XtsrcH4MFIzocoP27uuA+XVYzatG68wXRs+TuAHNH5jpi0bzuh yo1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=qNdn+dfi4WFgUqQdDmMgwELS8GHDT7BFH1I/inQ0AsA=; fh=st7Oh3jz/IFICrMWXPA9Kc/G9+Rl3ryJ1BBH65tpk3s=; b=GoEFNApgybDI1/REqaxTsR0XzufsibSVk2hR5qrphB5nUEGnAPe0zibie8OGscwrVg 40rIObq+2uuf0k6A1k8enLxQNijPOgxvOWPS9R7b9x+DM7GIdCnGBa1/DOypsEzPhLzb RewIHj15ruQdGy2CxuORDUU3k65zYHwg7x2fVOFmKQvPZyMjuaIxWAyDPQSn7zma40/k Vlb+0Cxe6hqSe0rmdLq/kE9bOj4j2gov14ZmLwcUcmwviIa5O1c0seKIlkhoiz0rwjuo +6PX8EvGZmQ8h6itW2ZCuidxgcTHQ2Bxzepg6fVCBF6+ClQWyKnPJYI4FFsZoNViDt1T HH0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=kna5YJtS; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 38308e7fff4ca-2fb56ccf12dsi4846991fa.35.2024.10.14.12.04.07; Mon, 14 Oct 2024 12:04:08 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=kna5YJtS; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2955C68E098; Mon, 14 Oct 2024 18:25:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5E00768DFCC for <ffmpeg-devel@ffmpeg.org>; Mon, 14 Oct 2024 18:25:47 +0300 (EEST) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7d4fa972cbeso3231369a12.2 for <ffmpeg-devel@ffmpeg.org>; Mon, 14 Oct 2024 08:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728919545; x=1729524345; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UafnSssDCtL8PMnyj/tuNh0VIHaWkE+GJdeO2kDjgHM=; b=kna5YJtSvviw4wuUsr2jRQn98ExaB1LEODFx94GQ1+HWNs7MNI8xbAMIkaWlKj1/P+ IXN84xAyonD+hbMqUu0V0GvicfRsvIzg7AyVMqd1vH5RXqmvJPuu8GPCVLxtoVD30laY hVXGNpzuNQ7fva7BW/+33jad95tfEwCB3w1nSl8vJUB4FPPmtA8rLlKQ9hbwe4OCq1uZ VJpHnaHJ4aKJSw/bQyd+PcWOkUxJkLRFdnlaiFBRSgPhqfrbH36NvQQR8dMpKjQK7R9i zoYngGu2YubN1zzedtH8QL3ODCb2f2iY3866J51yyWASCQH5/X5esIX08coqWWPTILMT SJkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728919545; x=1729524345; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UafnSssDCtL8PMnyj/tuNh0VIHaWkE+GJdeO2kDjgHM=; b=mSvOysMvgjUaaTZ2tuhrP4YcP4XdXkt5FW0XCd0un9RniIWGrzKOVL2HxgphmffmL4 D0RZVGTALXtkGRA6LtOV68+y0aCJXtPNu7Kf3RUUKvbV88Mj1z/ScNlwsCs8xLxhQXFJ Gm2pZqpyU5BygSkWgO5oMbqm8lAUIcShpNd81TYq5hvtiObBSbigYcoUJ58Scr0monFJ 4PRJUmS4RlODvZ9EtzB/r3xDmKjpW1teabuQ3TgC4BLLV5v9u+eRbLW9r3cGr5qfJui9 RbZYGWVKpVs9df75kioiHKvDHqrHV8XcIA7W08mHa/kT9ml2DVLVBgoDbbaWQF43t2V9 hZ0Q== X-Gm-Message-State: AOJu0YyEWWGpksoVNLVQHjFL4Qd6bNgweEH0IDR0wSGNjtyF6XSxt0gh 5uuHeni05gBOqEjBe6SDmR6aXQpyun64vt6WYLSz18O7yvHGFyQP79qa/A== X-Received: by 2002:a05:6a20:c89c:b0:1d6:fb3e:78d2 with SMTP id adf61e73a8af0-1d8bcfbf4c8mr17201133637.42.1728919545382; Mon, 14 Oct 2024 08:25:45 -0700 (PDT) Received: from localhost ([112.64.8.17]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e584b31fdsm3834696b3a.178.2024.10.14.08.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 08:25:45 -0700 (PDT) From: Nuo Mi <nuomi2021@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Mon, 14 Oct 2024 23:25:32 +0800 Message-Id: <20241014152532.78427-1-nuomi2021@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/vvc/thread: Check frame to be non NULL X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Michael Niedermayer <michael@niedermayer.cc>, Nuo Mi <nuomi2021@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: IKOahF8KAITH |
Series |
[FFmpeg-devel] avcodec/vvc/thread: Check frame to be non NULL
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index edf2607f50..522fa8416e 100644 --- a/libavcodec/vvc/dec.c +++ b/libavcodec/vvc/dec.c @@ -1000,7 +1000,7 @@ static int vvc_decode_frame(AVCodecContext *avctx, AVFrame *output, if (ret < 0) return ret; - if (!fc->ft) + if (!fc->ft || !fc->ref) return avpkt->size; ret = submit_frame(s, fc, output, got_output);