From patchwork Thu Mar 28 14:08:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thilo Borgmann X-Patchwork-Id: 47582 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp1349242pzb; Thu, 28 Mar 2024 07:09:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUcwNXYGXQYiehxMB84hsrAlt0ykXRhTTgtvStJYaQZYxWtUuv7oRLhmgeYz12lyh0ribnIDNZdtjb1c72H75iegyRMXF9B5Qe3/A== X-Google-Smtp-Source: AGHT+IHvMUwLacfxBp2nXYpmooHkYZZmLTrRfw8lfCQFgOjToawLBSYAKHG//IGIQfuHpfuAiokf X-Received: by 2002:a17:906:494f:b0:a47:4fed:514a with SMTP id f15-20020a170906494f00b00a474fed514amr1657745ejt.52.1711634959918; Thu, 28 Mar 2024 07:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711634959; cv=none; d=google.com; s=arc-20160816; b=i26+m36KhxJoG33kKrHG5FYMFIlfXUoKagdZuRnwovJ0MTin2oKSrCkbpBl3B5G+fd /6C4G71CJk5Mk/Z1D70EUXcUNC9RbMEWY5tGdH/GNUS7lTJTRvz0ua4eL7a2FdghTkIB +1WrfBioX1vyA/pqMFg/JrQ/xpvIhzgWKL9tR0UEu/hRzU25zln/6nA83h8DO9PoySaG eBgIEr4tLbhNY7/BSLlMBVcnyjEsqlZzqPALrats6dNMMogScd4fVVdBV0bu2je0C2Ns BJRp6giU6vjuwHH/T8YLy2uuegi44fxCtFcT7gSU0pvHWuV+KpnoOhi4qNcdNKW334pQ m09A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to:from :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:delivered-to; bh=FrTAM3qbrCWotF26AHo+818pfYmGo+OQFPbokmxI6N0=; fh=uZWItAgYCSLFS5Zum7Ip+PilGyWYOeCwun+We0BTHAs=; b=Wiw2rcGkqKYnvUOoA7ydG/lpLLXeqNA/NGj6t5p1C654iYahDHkpsFfdvMTXEcIyuA aePzB3qpvCmvZi2mbW5u7M2EDwuy1kEntue/ChppDHRIAeqN9O2gACY45dsrCtx+hoU+ qNB61Ev0M9N/nL6A1Gc0Si4c6XGHUHGAzycqYtdvc4uZB6pgOkFGrzdMITlS3FUkWK6w uliiiIUJzMa7fWZPr0M1lsYh93bz+cLVWMU0+rTY5D7rqwaxrpcUFYYCb/auRESCsYiJ 8sDPuF074V+WFh1kUBRc+azHz10GBKV9ekTXG429uMyhKgLB3YoBcoNQETY1nmZbQp79 HZTw==; dara=google.com 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 le23-20020a170906ae1700b00a46021ef910si758546ejb.854.2024.03.28.07.09.10; Thu, 28 Mar 2024 07:09:19 -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 EE39568D5C3; Thu, 28 Mar 2024 16:09:06 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from shout02.mail.de (shout02.mail.de [62.201.172.25]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 46FDB68D581 for ; Thu, 28 Mar 2024 16:09:00 +0200 (EET) Received: from postfix02.mail.de (postfix02.bt.mail.de [10.0.121.126]) by shout02.mail.de (Postfix) with ESMTP id 37688240DEF for ; Thu, 28 Mar 2024 15:08:59 +0100 (CET) Received: from smtp01.mail.de (smtp02.bt.mail.de [10.0.121.212]) by postfix02.mail.de (Postfix) with ESMTP id 1E10FA03C5 for ; Thu, 28 Mar 2024 15:08:59 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp01.mail.de (Postfix) with ESMTPSA id D93B3240CE5 for ; Thu, 28 Mar 2024 15:08:58 +0100 (CET) To: ffmpeg-devel@ffmpeg.org Date: Thu, 28 Mar 2024 15:08:51 +0100 Message-Id: <20240328140858.2521-2-thilo.borgmann@mail.de> In-Reply-To: <20240328140858.2521-1-thilo.borgmann@mail.de> References: <20240328140858.2521-1-thilo.borgmann@mail.de> MIME-Version: 1.0 X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 579 X-purgate-ID: 154282::1711634939-FED2B878-9E08F938/0/0 Subject: [FFmpeg-devel] [PATCH v11 1/8] avcodec/webp: remove unused definitions 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: , X-Patchwork-Original-From: Thilo Borgmann via ffmpeg-devel From: Thilo Borgmann Reply-To: FFmpeg development discussions and patches Cc: Thilo Borgmann Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 7D2UjfXHvlJ3 --- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 9308ea2b69..2301699e5a 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -59,8 +59,6 @@ #define VP8X_FLAG_ALPHA 0x10 #define VP8X_FLAG_ICC 0x20 -#define MAX_PALETTE_SIZE 256 -#define MAX_CACHE_BITS 11 #define NUM_CODE_LENGTH_CODES 19 #define HUFFMAN_CODES_PER_META_CODE 5 #define NUM_LITERAL_CODES 256