Message ID | DU0P250MB07476B5E65D6F6E836CC81758F482@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 2e4e424ac237e34fe106dca4c224a46eabefb4c9 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9002:b0:19e:cdac:8cce with SMTP id d2csp401801pzc; Sun, 11 Feb 2024 16:01:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUdT9jIPEhQiSTuCZpUV/Bxq/wVUnPc2qLBTwPXNzgPm5tUyB8FDaZoGOo+xq+PVRxHj70fEiM3EtWWETxqWz36WbUgRJ4KngUDeg== X-Google-Smtp-Source: AGHT+IEiKaynEYGowsppWn84Of26VnKl1eT3TusCQvybxVezHQZAJJCNqGN03RJ3xgdGtCObqxsj X-Received: by 2002:a17:906:6d7:b0:a3c:240e:e1db with SMTP id v23-20020a17090606d700b00a3c240ee1dbmr4202594ejb.33.1707696117948; Sun, 11 Feb 2024 16:01:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXkORBDS8oQwD68Q5A/7mlo7cdHtTweUrSziF/IJZOX5eQFsAXWakKGlUCFboWFaQwoNDnS9/muIsIPKZKiRVx0mu/rKqJZjXdc60cuAHmu9PGPoszEbpsQ0qpCfy10xpE/M4AFW9ewdvZ/m0/5ZqbWy6Q12zxe1op0mmHUSDPqqI9KvJmMpJsMe3uWM/FbEqzmCFwABun2a8YA2m/LUTUsHzX6e7L422oFYIJ64Sn1VZ5/EHK/7nfhQKaTLOCzUldABXv1vjyHkmwuZlslBBXAyshu5bXUFPrTXqBDLt7HlTaBelXHHu7ypmS/dKXQF9wvb0kDOJSgeD7UI3fLbepsoQvcBEi4p9xSO97NgBK7DTFKskvqLI//gg8ZHNp/2kRXVlTilMfrQwQoQqiNWmaYUDRSqnKnx7WME/dSE+NFsHRxeRNkseeLAth9FOsAhJVFyjfSYLtb1ts3lfC8Ce/OgO5OGQox+RiUeuwTmLcuZ+w0Juw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HZfJxh/63kUNEtp/yOv6yabzx9Yw= 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 cr16-20020a170906d55000b00a3cbe1832b9si53868ejc.358.2024.02.11.16.01.57; Sun, 11 Feb 2024 16:01:57 -0800 (PST) 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=@outlook.com header.s=selector1 header.b=f8eZ12ws; arc=fail (body hash mismatch); 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=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5B0A168CA65; Mon, 12 Feb 2024 02:01:55 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2104.outbound.protection.outlook.com [40.92.73.104]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C53DC68CA65 for <ffmpeg-devel@ffmpeg.org>; Mon, 12 Feb 2024 02:01:47 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TmcYeoZpuipoHM5M26CUkGmt/RGWwRKALfku9TizEIwwl/JzkeM9+TEnirDSnr/1jVZf2xPDBYZ47EREfKzOx2BOYha3CPB72x94N6kZcF1YTgtninaIb815fMNmQ+3I5QsTNNuB8u88Odg6hA+IqBChhmurdnu6sTmSxN3JaInDpsNKKkdxLcs4s7Ld3rtdLjgIhrH9Og8r7mPTJNsv+/6KJ50IOxxo/iHR8uvSbOoDBhk4I0M6x//3ZBHHB9tDX4d8ePzRBOIh5EjM4TbcKqyfJRWdwHPxUFY2djEJrMoWbWYQc6W1PWxB0LGJnZ0i1bQZkJHMSCSQgzw8o8Bh3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9LzUB4X5GTQAk2G2SxutOUyyHG0UbwMwBXp6iYEnD+U=; b=U7q0pXxcLRZYvuNrmRx3ox9plKyvC78qI9uMHp8zQrOR5iiuCsjfG1Pb/ap6EAw4ROXTOl9NrwwFROy2QJhdEEAM5cbf2JyS8KzFPCa8p7qDURFZ4/gC3kFSHyMNRNjUjtJDkd49RJaWcAvQNWxNIp3e0cIBzBNosNzZ01amGJC4ZXeM1EV/LUh5YwF2fFM7RMZWbnyLrrwkDJAZ7QpNjobPeIf3jgKulIXmkCZXBiveXI1562fT0uRozh7k5i4Y98ILU9n4jtE3VX1/BBVqy8kac61jsG5y99QF8o8FlYm4fliPH/WqUU0V2tTOx+/fb8F8jriCnCFnfGe4yJ6eHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9LzUB4X5GTQAk2G2SxutOUyyHG0UbwMwBXp6iYEnD+U=; b=f8eZ12wsCHVGzesPNidUErKG5ZW8FMkDeHg1+NUCMPTO4Z8hbF4RIRDma9takVx43f6S0818cBFwn7kxnyIvAJjsqHeA4k432F22dWSmZY6wdqLy+3UcPzC1aZ1JvKkBbRvMAhtNMgIsSdrfcBOOy1o1w9f/DK7S/uOwhrn0mK4xujPt+NvVJ7j33UOrH47AfIhpSLCtr3UU6v/SUgepO62skXB3pyeO6WnWRihUhl0RXNWw9moA1UATjszuHViXN+a+34KfjLROQ3wfXRZdLVWME4ExjyoIAKgFAHr2Q9IoAhJhhPYWRdYNzNID5hBAPaKZCP2zPy2YcpO4gX+LAQ== Received: from DU0P250MB0747.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:3cb::16) by PR3P250MB0257.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:17c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.35; Mon, 12 Feb 2024 00:01:46 +0000 Received: from DU0P250MB0747.EURP250.PROD.OUTLOOK.COM ([fe80::db07:87f6:7c75:38cc]) by DU0P250MB0747.EURP250.PROD.OUTLOOK.COM ([fe80::db07:87f6:7c75:38cc%3]) with mapi id 15.20.7270.036; Mon, 12 Feb 2024 00:01:45 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Mon, 12 Feb 2024 01:03:14 +0100 Message-ID: <DU0P250MB07476B5E65D6F6E836CC81758F482@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <DU0P250MB0747A90616DE3F93B906D8588F482@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> References: <DU0P250MB0747A90616DE3F93B906D8588F482@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> X-TMN: [Q0u4TF6g9PF7n8AXCb6MJe5y/76EXsIh71+nQFgufmw=] X-ClientProxiedBy: FR3P281CA0146.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::18) To DU0P250MB0747.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:3cb::16) X-Microsoft-Original-Message-ID: <20240212000335.27984-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0P250MB0747:EE_|PR3P250MB0257:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d88f734-b3ac-48e8-b8f2-08dc2b5dcd53 X-MS-Exchange-SLBlob-MailProps: Cq7lScuPrnqwZHg0HfSFdl5Zlrnc8YAZXybJGuVRTD22UsYM0S3ja3kNaT+Hd1A60+P3v6d23HjrY9gbC8B7o1xrLaR37f45yxgjjxM5XHcaoJmUdg17heGoRcL/EgS5HlkVSBJLIYCb9maVKC6rbRGDnTCHeLKmUoOVSeliq2Thrp0P/L/P8Idn6v+6XPyBZF4ZJNj4B0XPalpAgg4iV6aDBbNHdjL06UuFzMmggzlHWswjTK8W4+YQNPozpyvTt1oN8wImuZNMrzvY4tr4vxIanG/0c8+EG45S6AmU4DrMDElBdPTwhFmvIwihXz4hBVPpnDIgWs8vkO4FfdVlRJjdO6BWXUpv2umORenxsLJfwtITe9Y60zhA93Sc+RnM6fEE95CV7vdrpCBhEVWtWtX0mU6C2NRFkv9TEnqhhmMf5H4hJcNEYCQfvMFoB5lpgQHGp/y+WXE6WMIwQ3MlGfLlnIb4Gp5GVEXyn0J1oowZBlhMKMb+d1QiLnUtnc8Zb3lkGEkJKH79XoZh/dHPsZBHaPEG5P9rjeuu8kIvIa+5iBg8uIdCJToAhPnJHhZ8ohRr42IVQk8B18YdX/F6Tb3T+d2icUmL6VKfjYn/bbpN4GtQObuddISGmChTVe58kDw1kZyd8dpvN9AFGBbBE8WTQYLjsIuj+fTmkBELPfoI7lYJ6gfXncqluLmwN42mExjn6g4w8MSaWjAhb0WDNMx2iYRRbaXh+ETJan9lsFD1ZG8imNJz1n/rSOTskc+DUaweM9j5dRg= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 00RSFxEeGuqwKxBEQsx/J6bau2wFqu6HYa+lwho6uuCNrZwR8A7QVksx5mNsBij09ia6RbzViWUCSnzUdtqEbScIMxFcBMu3KC2B4PXbHDaT291phw8zzekgniEE3EN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48X09iWMs4XEe8geHpuFz8gGvWzG3BMJhfpUfNUY7a6VRnIUs0E+n9UDxLAKZN+UCJ4xFR9mhTaikkT//Y43y+OHgsXHEVw4N+NEYGMKq01qcvjQUjSM+pm39E7OdIDJruVYvPzvazmFwyGP0A2hjRm+FfBRPN5vlev4wlRX3PfmxYVqOz3GiEl2Es+03/CSCcRi8Vh1NTiJzU0YHyE4Qm/3xDvh+FSNGoKjMXYyawgfYG9IcseZJnJQHlBvK9uD4nnjMDnxWpdFcUz+dGF74GflSLj1BpSKTY/vENmC5sRE95t2sz2qJxgf9LQxpDvhWAch+RX1uNaWNX0Lv+ZmNQe7rR80ZHhHldCj4ki/04RHJlhfB+soO6DD353hPzwl64kiaRrryyAlh3GFI1J57S7bENobFeBQ/8Z6aWyAAzJD3VJEc2LBnC75WijKp/MA2x7XCSpYKhPyEBnOZHrpE16VuHvf780aa7PjxUI1RV4V3CxGGir79fUdKOci3JCztXqPkODWV18RVl9yMNIdy5ctAnRFo1emEykvR7SmC0om8/JIqiFM/cct4nYEdcWRZ36NLaSvJXP5Fv81Pn6ef9ZI6rCZyFcn/qpKeNJlZ51SwJTp5fa5beJFlVyJ9aXICk8ekNvdEPrBU+rNts/HVKRYmfJbEUetWIHQxD9IO0hA+ZYg7IyK74LNSG1/A2kGvj0c7fM7mSvRPM7h/78W8+0tN0s9Mh5D0MqEl1LD6T5nMzN03VDc/e8waO+pehAw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d88f734-b3ac-48e8-b8f2-08dc2b5dcd53 X-MS-Exchange-CrossTenant-AuthSource: DU0P250MB0747.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2024 00:01:45.8696 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P250MB0257 Subject: [FFmpeg-devel] [PATCH 02/23] avutil/hwcontext: Don't check before av_buffer_unref() 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: Andreas Rheinhardt <andreas.rheinhardt@outlook.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: vlVnyB8dITCr |
Series |
[FFmpeg-devel,01/23] avutil/hwcontext_opencl: Use proper OpenCLFramesContext
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index e23bad230f..63fc1a6a22 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -297,8 +297,7 @@ AVBufferRef *av_hwframe_ctx_alloc(AVBufferRef *device_ref_in) return buf; fail: - if (device_ref) - av_buffer_unref(&device_ref); + av_buffer_unref(&device_ref); if (ctx->internal) av_freep(&ctx->internal->priv); av_freep(&ctx->internal);
av_buffer_unref() can handle AVBufferRef** that point to a NULL AVBufferRef*. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavutil/hwcontext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)