From patchwork Tue Aug 23 13:05:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 37416 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp1872120pzh; Tue, 23 Aug 2022 06:05:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7hMfxMVCgDHr/kawsgrWa07PgLjBw4UeYrMe4s9mtQA/von39kg3gGwz52pxb+x+No3zah X-Received: by 2002:a17:907:7354:b0:730:f00f:7aaf with SMTP id dq20-20020a170907735400b00730f00f7aafmr16985796ejc.108.1661259931870; Tue, 23 Aug 2022 06:05:31 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id qf39-20020a1709077f2700b007308707489dsi12550981ejc.662.2022.08.23.06.05.30; Tue, 23 Aug 2022 06:05:31 -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=PtG4T42F; 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 0C42268B985; Tue, 23 Aug 2022 16:05:28 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068071.outbound.protection.outlook.com [40.92.68.71]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 03E3C68B3B2 for ; Tue, 23 Aug 2022 16:05:21 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dJ4ZGM9NJVC+ZuJRNdlUYRMhlxAxpu5U/mEOdIXiijReWkeM9PCPVwus8ON/YMZJIv+0X5qdIcCn5mAMOJ2WNMYEh6kQlG+A+G9ufX4OuyZF9p2qiJcLLQdKopJIAVn883EpFvHHLqBRQuqtVIspsCpwkpVBYdNVCrfu35d8rDYwSmS3ekmNNQbhEGB7HXFb0UUMDGK3cIlrSjqM/PoiClMifuh84FVJtdHhlYmav5Lxpmr9sSbKLZ33tiXESKXiuiIGAQiHHD1wRFnbA8WqMB9N+fUfpjiq5SO2o8e1MkYuD56kJbqrFRn28j49Fu/RevQNZ5GNSHXundTt98htIA== 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=XJzOIzI+Apebk5Qb4P8C0A5A0q7JMLBdn39eFGKixPE=; b=MCC3nnCzUgzzOLhZ9bTx5vz5kL+1R2XA0naLT8Wskan0K8l6k+3d00tnM8+nz+J06BM/rGr+SPunWVLNqzswhphSkbQfX8pYFRcvwL20HpUM2bx1DJbHKXCm8ZF1rZ7fIBA87X8+qWvBkqLFBOwBGlwKo6qAxQo8udPN63BhIDVU79RpA6J5qDCxG9NRfL5WHL+SYAqEaNhuXxFQI+ga7UqxZU1bushU8eJ37EO/Fgbm/BE+jqt7cV6bS0UcMhCYBY76h5QSfbmGyG9+s+quKdDxkHJxpDfwr7yejI/mLjw7v7fd1C7YQ+uFwBNFormgLPYvIDti5Oo5mElhm4W19w== 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=XJzOIzI+Apebk5Qb4P8C0A5A0q7JMLBdn39eFGKixPE=; b=PtG4T42F3yDML5DiHmvUlreIB1Y0PE7t36TKv2Q9HjvvEZcE4FxaBh3pai6p3xY0E7tYYGps5Gzs+0VGU9OMus/1nR+e2yHA1r5FdDQ6GDxpF6Sha/Y7abzdzhXdlcbWpb9nyyXH6mbsap8ModmH37pzGPalMCsJTYzsFniDvfPx2oGId0iU+VivNjbRFxKgpPEx6viXP0YsZu4jo7a3F5L/b8HlUwchqZsvWxpR68hSSMgqn24zTn3cjGVBwuQxYEmVzJc8l9TaQTIaD3s1vGoNpwsE/FELltAaIywuVn74ByNUqV+L2yB6V8lDJVw8/sFUQCcE6Huch4MAPMDAnw== Received: from DB6PR0101MB2214.eurprd01.prod.exchangelabs.com (2603:10a6:4:42::27) by DBAPR01MB7128.eurprd01.prod.exchangelabs.com (2603:10a6:10:17d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.19; Tue, 23 Aug 2022 13:05:20 +0000 Received: from DB6PR0101MB2214.eurprd01.prod.exchangelabs.com ([fe80::210e:b627:bcc9:8c46]) by DB6PR0101MB2214.eurprd01.prod.exchangelabs.com ([fe80::210e:b627:bcc9:8c46%11]) with mapi id 15.20.5546.022; Tue, 23 Aug 2022 13:05:20 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Tue, 23 Aug 2022 15:05:12 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 X-TMN: [Vj+mcbZErgsJmRbC2nod9ifAEqcUNtAc] X-ClientProxiedBy: ZR0P278CA0190.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::17) To DB6PR0101MB2214.eurprd01.prod.exchangelabs.com (2603:10a6:4:42::27) X-Microsoft-Original-Message-ID: <20220823130512.1161574-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb277cc6-7ce3-48ef-4bb0-08da850821a9 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiQ4WHt2RPFtX7+Q94TYLswZ+T+Nh74OCBsakxayr+xMl2e5ngkenj14aU6yh8Q6LNpNpdBAGaazaL4D4sLkVAM8cnc8gd26+iJZbRGcESlG7iBAs/Z7560nXXbysk9YEq2I9ushPPROTjXazNIYpxPoCTPQJovN/S1pErB7b2pSWwRMGLAvyhkzcPxI547VWD6NK42cS2NuybgTbKjv0El9/oKTja4RfxJZfiQZXLJRqHpsD6hPmakdzmgRyHE2esDkeEAXWTwoYPh/bKUjAAyXFNIszCHADc8O0iRKbeWa4nRjULFARs2+OGznowCZw2ynraQV7Piygu/53e3gl3USsRRalcN30O3rVUDbfM4HtAGcqbt/Nn+xszZhNhCbgFcbYwwaT80vr7VivK0fAmU4J1mrk0MmAXdq5aIPyELHFZCAUzsehm9Rygz3FLarACIwXFmToEhp5ZoA+9vbToJqWjSlL48vMLzgszhHweBIGFtxTWIKd3R06gikZAoUt36Vz9x+0v8As8esWZx+/epp9cTe+QERFh3ALqwvTJ/NQlWsYSv1Jg+UDMT4exmv0dxefsOJXsbSALjcpHyWPCuFHSY5Y/i/sxLZ6EiQ7XQbpL1t5g7EZ9PtNkfXfq24OQaxe/X+etUgQLsNG/lwg1XEXcCD0m/AjzhAR/KoQKguNTsBHhdxgU9NmILyQ5Q2Ixpw7ZUcZb3jzw3cGakgKoUB9AEuqefjfA97HepWvbL/w2DH5NoBPKwRx0fifd5kFmo= X-MS-TrafficTypeDiagnostic: DBAPR01MB7128:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rh2qq6SNuyz/KbcTCJZk+bjH94lPq1UgEAUuN8k5KY9S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ukwfRqTKCXc1StKAZc40CvwkpgSre6SchoL6JALjxGDoyub4gZZxnk9GbQGg/YcvAoVBSV+JLxpAGJRI8fasriEvq3djvguAg/YKz5FRGyoq1/L7wYodTrprIucIuzfJ30Nq5lEc60PAHM/B/m1EgJcN9xgyaNQxgxAp14Pq5FakSIoqsEMl83ftzLFaYcMBh9QO4jw1zCQ4x7o5urEs6uHVOQojWKBkePuQFqtkP+Gf+t5lMe+HkzKE83zO8jWRDb4lNWRkwUpexb512veNrP/2IsSfHcRGc0uqJQQBuTKVZrd+xLY32GRprHpgvD6frTv7xMDe88wNnrBsHpH3wh2XYl0CrdYZAdynL0F3Y7asd3Vb+HTS9r+V+P5K+YfcyYMkzQ8A3j8CPkmJHTN/sbsJnR7NE+KMdYC2neE6uHCxtGsL7Pq4hSSUV7bCapnl9SkOMHz+ev482MqWrqWXvCjkePFZhWzRBW6xeOcJwlVgR/6pUu9PB/vVgBBT6zE3LPxrh/fM1JXcqy/7C4wIIoinljPksmeS+X1ist6CakeZm/JVRxOVfyEhnHKOrC9AiOTR6Ov+f3nDMhX9ezBkP/jdgI8rCDCVCi4tXNU32481P/cz+aDgNuRCLKPllC5oYo+Ss4hsO4WSMLwGJPwHqHEelKrSnI9CL7jJhvyKm+f9S187dfY4+jBxtcn4W0Ma4kLkA8ChpAqj7XxyIPHcn9pcLsJgLFaov845FCSRvefgHUE9NZsC4PnnSTvK4CsX6QgPTTyIBSbb+Pi7hKWjx2w8IG5XJvYhjPUwzQtrYkxP6jo6/z/iSr8EE+u95itbG+aUIsA4zsVmWfUv77x7/JurdI5kS+4uSMQERYQHZ1kHEQewUumu6lL+u7SULGTK2U+dpZzXzh8FPBXl+/yO9/ugZ6oelpYYiofIyQY= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb277cc6-7ce3-48ef-4bb0-08da850821a9 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0101MB2214.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2022 13:05:20.0134 (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: DBAPR01MB7128 Subject: [FFmpeg-devel] [PATCH] avcodec/gif: Remove unnecessary headers 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: sLvOlsOhCMSP The gif encoder uses the bytestream API, not the PutBit-API. Signed-off-by: Andreas Rheinhardt --- Will apply this tonight unless there are objections. libavcodec/gif.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 8e84b79b8c..c120b4b8fd 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -32,7 +32,6 @@ #define BITSTREAM_WRITER_LE #include "libavutil/opt.h" -#include "libavutil/imgutils.h" #include "avcodec.h" #include "bytestream.h" #include "codec_internal.h" @@ -40,8 +39,6 @@ #include "lzw.h" #include "gif.h" -#include "put_bits.h" - #define DEFAULT_TRANSPARENCY_INDEX 0x1f typedef struct GIFContext {