Message ID | HE1PR0301MB21540720552E2C5DB9CB05758F7B9@HE1PR0301MB2154.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 9b6ffcf0fd61b61e53591c0ce215de2ce35a6982 |
Headers | show
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id EEF1B44AE5E for <patchwork@ffaux-bg.ffmpeg.org>; Fri, 2 Apr 2021 00:27:17 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D32F668A6F0; Fri, 2 Apr 2021 00:27:17 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2101.outbound.protection.outlook.com [40.92.89.101]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 80DEE68A628 for <ffmpeg-devel@ffmpeg.org>; Fri, 2 Apr 2021 00:27:09 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O2aZYPaqxvbcJHIdF0NuFGOXvEML2n7nNeR59WQVYaEX6inV1j3RJFO12suoaQXtjEMcSgwbx5ICyC1Kv3BuTGJXbcZEO72LwNq6inR4cqOVitJaYakPaQP5W4LLz1ju3anC4U6EXLxa7jw+9FMllQ2x4qObH2M1zZv2DSla6KUMRBOWkgbakRBmXVyJB+pVx/FolrIUTC3Zd7HbhQ8d8sB1iEGXJV20ESvX5NYS4KNcOBL/RD4IBurlZEMU7bHVg7IfwNbaeyNNasNkLhB59sS43XRBZdBX1VlHVdw8Weyw/7JpsJq8qIwZGPyK6IezbdZ1SoTfVRJd/ZSNyt+MnQ== 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-SenderADCheck; bh=STIMY46HOyxOcfBaf6vzOvMcNasF5Yne/iTSFYsbZqk=; b=B+O7ZOy3fjdrPrHghdNFuvt6NF9tvhPsW1iHf0qJ8hqG+AAJuTJZQD/GKjU7p+XTG4XUp79BzpSyjtlYTCO50M43HK7FMrYyW5UuwyRGhZ31cVJkLPotMzuB7BMs1NHkXxiO/2j5P/z/TKuFwpjeuo5bBkwhznd0M2MyMtQMWdbspD1VVukmBpky/AJzyT2MElubeJdmjNSnvYDiaHxxZHupNomlLuSE3dK4y6HbyIaS0bZ2C5F0zcRhDCc/SUgXx4rphSXPqlTtO1whrEljvXb3i2agMQ/RiZ5am3EOCwVdjE+hcGCKQxJATowdCRYffpbpmXMDAQZwJPluhaXibw== 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=STIMY46HOyxOcfBaf6vzOvMcNasF5Yne/iTSFYsbZqk=; b=c4PifYCgqQ6qsbHq6gAmAtBAuXgF+eZ/Qy4BITq1uZ65d8vHyamqsNXJ1fsrguQTUxFxl3NY9goHA9r0n6lc635DQ0s3TApJwTEJ59N2JML0dtrCjrvSAonQX/GiW2mBZnbLM+PiI000iLyPnrtqBpnRKgxg9zPcWAWxWNoquwQy65qamqkBIhUf1qeUxOwpgYz96d9z9CqzOwi2cBOPbx4HBB8qyqdqHJjf202pXzOcpjU1M3cLjtknBRUGi/rc+r0jolLVXx+JyNQ+0aZiOA2tRlaJlnlIQ54UTBWEnzeOEDXwea1Jsior3U2Kv8HSRuBEP9pTX46Rlaaz2QNTYQ== Received: from DB8EUR05FT053.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::52) by DB8EUR05HT202.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::351) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Thu, 1 Apr 2021 21:27:07 +0000 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com (2a01:111:e400:fc0f::51) by DB8EUR05FT053.mail.protection.outlook.com (2a01:111:e400:fc0f::98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28 via Frontend Transport; Thu, 1 Apr 2021 21:27:07 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:27DF7BDE783F3B0D87A8662730DCD3E283290A6658C037AA133EA115554604F4; UpperCasedChecksum:BF46E57DE379AD292B1E72E5FB80220FC53868728C848F67744ADBB492D787D8; SizeAsReceived:7580; Count:48 Received: from HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::8128:5de5:4e94:9a21]) by HE1PR0301MB2154.eurprd03.prod.outlook.com ([fe80::8128:5de5:4e94:9a21%3]) with mapi id 15.20.3999.028; Thu, 1 Apr 2021 21:27:07 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 1 Apr 2021 23:26:12 +0200 Message-ID: <HE1PR0301MB21540720552E2C5DB9CB05758F7B9@HE1PR0301MB2154.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <HE1PR0301MB2154050DED74FF1F43F61FE58F7B9@HE1PR0301MB2154.eurprd03.prod.outlook.com> References: <HE1PR0301MB2154050DED74FF1F43F61FE58F7B9@HE1PR0301MB2154.eurprd03.prod.outlook.com> X-TMN: [nZgDwLkfW1SBU6BMnAxdCvOCkUYRdd5A] X-ClientProxiedBy: AM0PR02CA0112.eurprd02.prod.outlook.com (2603:10a6:20b:28c::9) To HE1PR0301MB2154.eurprd03.prod.outlook.com (2603:10a6:3:2a::22) X-Microsoft-Original-Message-ID: <20210401212612.2343423-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.192.137.96) by AM0PR02CA0112.eurprd02.prod.outlook.com (2603:10a6:20b:28c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27 via Frontend Transport; Thu, 1 Apr 2021 21:27:07 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: cc2e6b43-9570-4cec-0d0d-08d8f554e6ea X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UKNJu80vzaGCFsmWhGxAbOXzbDPtstLkYmEcgg/wXaWmbk3V1fgzzOWxTE1X8bl0AWIAHAII0OM43vrwbqxDRPjbn48o1FEboxxuMnzZWzi1iE7yizKRlXG+e6QMKqjyUMvajmlVqoBBMPk7jZruyiSEOb1LZmVG7j/IpznfFoy7cSMnxKKjqSyK0BAhkd5dY5kdfYBUboVpQaAGhAP0DAJ2WfWu6YiIOu4cD3Ar4Fr3mgVuO4zmt2AyNy4UOeo5iVE3PwZX6BgTpQkkiaVPdCRiTs9CyXecvhHXvwe+ECaglEoX8Ecwx0tacduEFAmrMSaqWI0cWm1Kp5709pr9ghCpJQoWYlueSjy5s21wVUkcDg85jIeTugj31WYA8xyIaFDvTYhgZpD37oU77jgwIa4yLXtTASc07hzrRCG7pg+YNoCF5VeJ775qUZQ2i2OfeRMBbd5OtMQOAzK84FD0Rz8rzA1fmyok88Q+BAKeUQaLISss2cIXsT4G6gT7Yr1S6tE6aXLok5xK+ry5PBoKupp6XwxDHHvKox41nfFbtbUKCHpU7NaHt5UrehFFKLcOgQlRaz3MlO3Ubag0TRu6qrm81wip16wsfCMw6TTnUQjskcCXdCdkAWTBE5DEN03x9zNcL+w5CpwJoxp2biCzTa3zwKQOD1BMeyF0lj6/95FuyInv2PPDj44mXsM1jmYZ7DBrMfuvw9dxg== X-MS-TrafficTypeDiagnostic: DB8EUR05HT202: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jRouSB5kEQBTiIxRIx6QcLHOYAotXH/xjVtzN8q2991BY45I6WYXyofpfKHDYW4H7mIB28i0T5V3QiVM4TQyPycrvyY/DONZgfauKmDf0ftLSrZdXDaHpPSHqEIjZ5Sw2sz12GPmw2H2O0mh7XAUGcAK2Hhu+UaggbG+C2iZjwNMWp24Msug5JOZXNZRvl3+Zkjl7SDzbE6o5IPDtAb7LVLWlOnqNxU53SEhr/Zj/0buIWv76fZnCJ6haIbol88H/SZ5N+HU+PnCuQO17gCn9fsj0atNlSdh72NR5wKz7+/nDMWZVLnpqoIenSLp+xyJ9NFWdVICFw6Bqv6Pm0bhQqMPa9CdKp44hbNk7so3oKyv6OINddgAihW82Vr/+D2wXbawy/GGFG9RhjMnDhoECQ== X-MS-Exchange-AntiSpam-MessageData: QBrnCjiaIjw9gkdHdccWrSYWPke63WGXeRcPq4xprlpk2nOIADG8wrXClugOIdkgy2u/6HxHVi3NKM6FjURlf6SbyitAYfDYuwBFpGbyQ5V/x8YwszqenuOZK3hmczSr/JG2iieI/PtehxXWdeQD1A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc2e6b43-9570-4cec-0d0d-08d8f554e6ea X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2021 21:27:07.5060 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR05FT053.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT202 Subject: [FFmpeg-devel] [PATCH 7/7] avcodec/options: Remove always-true check X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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="utf-8" Content-Transfer-Encoding: base64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> |
Series |
[FFmpeg-devel,1/7] avformat/utils: Check allocations for failure
|
expand
|
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavcodec/options.c b/libavcodec/options.c index 58c7ce8d62..b8d4a9faf6 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -39,7 +39,7 @@ FF_ENABLE_DEPRECATION_WARNINGS static const char* context_to_name(void* ptr) { AVCodecContext *avc= ptr; - if(avc && avc->codec && avc->codec->name) + if (avc && avc->codec) return avc->codec->name; else return "NULL";
Every codec has a name. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)