Message ID | AS8P250MB07441537D335E4657926DF368FC5A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1204:b0:15d:8365:d4b8 with SMTP id v4csp1574706pzf; Mon, 2 Oct 2023 11:13:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKCVtJg9Hch77LledqapYhSNwGcxlx3u/R9LlEzVf2WZDSyPLxm/bGeH4HWlOzpGqNoSIi X-Received: by 2002:a05:6402:1859:b0:530:8a17:39e0 with SMTP id v25-20020a056402185900b005308a1739e0mr11037011edy.13.1696270406530; Mon, 02 Oct 2023 11:13:26 -0700 (PDT) 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 o24-20020a056402039800b005312692eebfsi13195644edv.150.2023.10.02.11.13.19; Mon, 02 Oct 2023 11:13:26 -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=@outlook.com header.s=selector1 header.b=E1D7+hzP; 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 5150F68CCA0; Mon, 2 Oct 2023 21:12:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04olkn2057.outbound.protection.outlook.com [40.92.74.57]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 488DB68CC11 for <ffmpeg-devel@ffmpeg.org>; Mon, 2 Oct 2023 21:12:52 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pj8ePjfXtpfVUS18B7smksKIuUyEsJaptxQAUehydnyB0Bz1+3kZsky36I4KkNB1A13Flj8whIi4/Ac5wG4ErtbdXSTEdVLigmDJ21PMY+oM6UrhS+Db7y0AxrpIG++Zybxn3IBatAGpi9SEz4uq8naR1Hwqz3QEk6E+i/Hh3rkDybpkozSkl4BM6PdbepoqYM/HnTxCCi8ycLSa2j9ntY4OVzYA9aQiwG7jcMcs2BDHVyiH6xRSIdsgVN4hNFZ1dNhtgKOkSsakWSaPo7nmN4mRZ/eoKZho8XuDfFCUvoHHe5BDSwbx58cjPXjTmIJ0VTG3lZz6Uu0b9IgkAkrrDw== 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=zFssATrAQwtdFdDeFxoDt2233ZJt7hm9j26gmVEc7Dg=; b=e0YCBDGPsmbi0bn6BVahL8ts5+kuDvr2BPRNvnVWJo2asCAXtuXg5doHrNOCyXl4+D8n8hwEGG9+Cb+rJloPUuQ7QmMWT+/76vw2VebJnliLIXg1r99TKTg58UBgkhOsrbu2MysiJA6bqzMLOKIZ271hjrNmNa2RUxq8BM6pr+U3P3jUdGBBnnRIMSBFL+oeQIXX1af+85mxN2Rpc731XRIQdkG89/euCzMZVC0j7fFmZ6alGEbHnsXNSoLvYORLcIPv9UcMReMmd0uZCcIoYCGvmt2CJPWIG9ais10AzKNelrzVyi4ayxxT27HbM3U7CahtYSthaOYZnbDCO6ReqQ== 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=zFssATrAQwtdFdDeFxoDt2233ZJt7hm9j26gmVEc7Dg=; b=E1D7+hzP9qszKHhQMxYzev9SO8dILwbIuK5Jl1Egt+h76s8jk9gPTkF2a4B3Dl2OygPyRgb0bCbUri3vBZwOq5y33dq8XqH0OeX/OkPkfukz+gotafYY0EtyAvyLjB5RO+kI7g/PJ00aPXYZdYpyzlnPSDkZIt+S5PPwtXkRHLnkyXg6+1Y0AeA8t2xTcJGvoIFomF6CPuLZ1z5SfKxeg/Q5rFf59OPtJPmJXgViF7Kci2nShN63Y3+d5Abh2Kfos6aJaKqtH968lmjjLUbsy/XApy6cruLPR0B+DCki+w19k5p0SOOK2o5qhhpan1rUoZU2mQkua0j960zbCldh5w== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by AS8P250MB0218.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:379::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Mon, 2 Oct 2023 18:12:49 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::5e01:aea5:d3a8:cafa]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::5e01:aea5:d3a8:cafa%3]) with mapi id 15.20.6792.026; Mon, 2 Oct 2023 18:12:49 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Mon, 2 Oct 2023 20:13:37 +0200 Message-ID: <AS8P250MB07441537D335E4657926DF368FC5A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <AS8P250MB074487CAD933FE4F6325C8EB8FFAA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB074487CAD933FE4F6325C8EB8FFAA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-TMN: [8ZucKfMuGm8JFqqGlVB3tY51/0DWyNjE] X-ClientProxiedBy: ZR0P278CA0087.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:22::20) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20231002181338.1030463-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|AS8P250MB0218:EE_ X-MS-Office365-Filtering-Correlation-Id: 066a5e3d-38d8-460e-f054-08dbc3732f68 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fV2IpUPvUqXYvm/j1tFEaGZRB7w2REUQhW2xYUHAN5X6Trzxzc02KPPMqpjkMNXRpdr3kpSgKTboNXicTKYqhxQr+WwlIn9Giq812+bW5gRbFqtVPaAPzspkx2flzYaHZLBTgH9REIBkYj2jCuy9AbMw+yVzmCThumKvSy6rPXxZ0rB5zDuv1WeNTr7gcIj53sBan08lno8BHWdMwpfLSJlAl9ZZ9dB84tZV8+qlF+VUZafbAmXcrO0LBfHzR8igbVmcJB3XCy19bhAg1RFMv9xtnN47C2+1G5PDgqpaOn4hWmsQp7qErslvuLDNj1XYAtsqBdiCW5JG0L6qN8jLvpaEvIgEfRjh7D66NgovMbfLRR2ciIi4N5bImT/iWCW1+ae41kwq/nTFffAeEDrgihFUb65P1d8gRZF7sAG8qBX1ejd7Kb9CwbAxRV8XI8+H0EFPmF1R7qWwjivLOIN0xgBWM8ui03VGflQRs05AsdD8nmXKnfuD/BjVrgtyAyxoJqwto63gaQYy0jdKXXj7zsdC+P/PYxhnPlTffFjLGT2QbFxbqoV5E4cb+gCiL8IvfYcIUfnErbOARI/baC5oJQ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EN+VzSUqMQi5fw6eQokhowSWQlnl4dhYy6HZ7Jung/VMMk6WRGjDiIfl02+2735aPrY4M1ODpxR397TB6q0D7cE1+gfRvwdT6yjFE7eyr/W9U1Yq+dh75Tnl3/GW46XbzhKGl0zZ+rvN2wPofU/5/SsFzIMuvUvmIRK/WP4yBicck/yX/3v8OaV0+LMiyfTlB53GEFv7AONPRyGwnq3Ye8sDnur6y4rORQKG5MIfOvynHqjUgXRYRFvSPJS1qrsyP4XRo77MKziQ+FSj69BNh6Adwr2iJLPZAefpbPajTZ37tdJS0ZWM9iPreqRz5mTxbTVrCo X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 066a5e3d-38d8-460e-f054-08dbc3732f68 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 18:12:49.0617 (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: AS8P250MB0218 Subject: [FFmpeg-devel] [PATCH 48/49] avcodec/v4l2_m2m: Remove redundant av_frame_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: b2K+BA/2NjHO |
Series |
New API for reference counting and ThreadFrames
|
expand
|
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c index 602efb7a16..bac3eb0588 100644 --- a/libavcodec/v4l2_m2m.c +++ b/libavcodec/v4l2_m2m.c @@ -255,7 +255,6 @@ static void v4l2_m2m_destroy_context(void *opaque, uint8_t *context) if (s->fd >= 0) close(s->fd); - av_frame_unref(s->frame); av_frame_free(&s->frame); av_packet_unref(&s->buf_pkt);
This frame will be freed in the next line. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/v4l2_m2m.c | 1 - 1 file changed, 1 deletion(-)