From patchwork Wed Mar 23 05:26:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ross X-Patchwork-Id: 34918 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:ab0:5fda:0:0:0:0:0 with SMTP id g26csp811714uaj; Tue, 22 Mar 2022 22:27:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVpof12xX2VFcVj1Zo77G/yBnWzOGKoLOqwfn+938fpkvHCWJiBuqocT/mco+Emd3QSClv X-Received: by 2002:a05:6402:1941:b0:413:2b80:b245 with SMTP id f1-20020a056402194100b004132b80b245mr33091133edz.252.1648013226285; Tue, 22 Mar 2022 22:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648013226; cv=none; d=google.com; s=arc-20160816; b=I0pPtU1lUqYzcbeK/5ee1fXXcZF5FyRd/WVYkUNvGcZwiuHgadbeJVq7Zf91NG7kf0 vMsm/MN15sTYmKlLigMGdnkEu73M+ZCzCAF+eFme1rHPuiB0QahCRUdk+Wvbgx3v3VXL f0mBoqgg0dJ7A80mfBazKQq+OGE5k+HN4QvzJVtc9UJLIT38f9mz61HTHMv5m/xlo7Do Ogu7YX/nAo4MS9DmDT+hsjjjGFc62eRY4J0vTjPy176pvP9/TKoT6/YPUcj/8z76tIVZ e9EaspWmBRsQ4efNX9kFHdN3sV3larQQolXNoMf0dHg4ln6RdQRbZhoR7s5y/Ma7Twnj lPwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:to:from:date:delivered-to; bh=NmlZqEqPvpcCpTqZ/zOvgTqGOeDolg3hqh0srkT7S3U=; b=psQaJP5ytrUHHm8QQYEYvJD4vK6AXjwICwKBVByEbpVx3lxk8kYCizXHvpj63krEs4 M5iSPC1CjRWFORvw/fqCJzIMYC4qcik62L7WDy92sgRczymnzP6nx8lfSJZdmyZ9DKyf vICg1CDxBIhd4Cnfnvkq3/SsW7Er741QOC38A0pjohHBOnqy6oLkAPDLg8uSvJgZblAY kpnzrchnFp9ADVYB+N8RfIbHhZx4uRlYGRHPR1lnGEWF2u86XLe8enu6/S1KV+fXxpHR VOKxMayn4EIXq19ys5gFvrFUWJJluzACI3VX+U6YXw14BpTMbYQ6jBXuipUuliYm0UO9 7bxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y27-20020a170906519b00b006dfad257082si11519858ejk.489.2022.03.22.22.27.05; Tue, 22 Mar 2022 22:27:06 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E92A468B1BC; Wed, 23 Mar 2022 07:27:02 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E4E9B68AAA0 for ; Wed, 23 Mar 2022 07:26:55 +0200 (EET) Received: from 42d5e98904635c5234c644089e475577 ([1.145.206.211]) (authenticated (0 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id 22N5Qn9P029878 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Wed, 23 Mar 2022 05:26:53 GMT Date: Wed, 23 Mar 2022 16:26:46 +1100 From: Peter Ross To: ffmpeg-devel@ffmpeg.org Message-ID: <67939932c67d883bd62b5c0fa9c38dc172e3da44.1648013166.git.pross@xvid.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avformat/codec2: remove surplus include 'memory.h' statement 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: YEzKdQEDBk3p on glibc memory.h drags in string.h, but codec2 does not use any str* or mem* functions. additionally, memory.h is not part of the C99 or POSIX standards. --- libavformat/codec2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/codec2.c b/libavformat/codec2.c index cd0521299c..400c5acbdb 100644 --- a/libavformat/codec2.c +++ b/libavformat/codec2.c @@ -21,7 +21,6 @@ #include "config_components.h" -#include #include "libavcodec/codec2utils.h" #include "libavutil/channel_layout.h" #include "libavutil/intreadwrite.h"