From patchwork Mon Nov 20 19:22:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thilo Borgmann X-Patchwork-Id: 44728 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:8c2a:b0:181:818d:5e7f with SMTP id j42csp115482pzh; Mon, 20 Nov 2023 11:22:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWlFJpg6r1So39tbiGMGFPhF6XgtypJ9gaoqUQ7ADu1fIVdwDsOI9HteMZZT8K2PmLzIt9 X-Received: by 2002:aa7:d755:0:b0:547:da7:9c10 with SMTP id a21-20020aa7d755000000b005470da79c10mr6663695eds.2.1700508173958; Mon, 20 Nov 2023 11:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700508173; cv=none; d=google.com; s=arc-20160816; b=cSUBQ9rsSgQR+j8pzqmTyT/cbNGAJ3rnlnwPFe2+3zVn4ytmjc8Oc52J4+hbNenKlT zjBLbv3+0I++BuHUI+uJbIVGUDk9cUfH4hXVIZ01S+mRtcfJOKCd3bonb5xIL9T6wjzv 5ySYZGuk/L1TILccG/VPli+BqV8k4Hg5Ks9T5LrgTYeyF/NnlrjfrfSb0t/NLb2ZVbbr oH+rVXvVL9SQDngdb7KfZLfVOLDZTyH7jjJcsPxpMiL1U8GMbKolaodBnrP83KLAQ6C0 xiYSPhv3u/26VqsSHTi1SMAUngeuuZBf0ah6dNdISGi//Q2T9vgefRYo/oh082fHF+nj FwpA== 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=c5nK7CxJCwYEovcXMYYAbTLhW0IWbzhhOwgyB5rmT/E=; fh=uZWItAgYCSLFS5Zum7Ip+PilGyWYOeCwun+We0BTHAs=; b=q7XyPb7lYiRmZSRfHj3JZyhvjRuYkTP1kql0cj91X3u0iHuewB1c1u/K6QrEc24Hkm bl2i/a8GQePUMwpGshrOmHBHg24zkF1rKzgimTReIqVSSNfVGloQtvacUSKJdUFE9fiR BH9ZmzYs2ll/uyPNP3dFFObJPn/YNkyBKGMgKU1NBXwBhMyAFjUx1svKV02X5rBkFpxS HtPRcIpt2DwQO8KNUM2ZBOA8tO23uMzTiht+50fTADOuy2XiQk5rNBEbI8XTD4tqd8Pc g6K+dbqyNEFF3j8Rko5Y4Wl8HALkLt78oSP+Tx1nPWSuXAycD+GQM6LStg2bjX2CtH9M dqBA== 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 e6-20020a056402104600b0053da2ec0f28si4582821edu.180.2023.11.20.11.22.51; Mon, 20 Nov 2023 11:22:53 -0800 (PST) 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 E386068CC9C; Mon, 20 Nov 2023 21:22:25 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from shout01.mail.de (shout01.mail.de [62.201.172.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B302868CBED for ; Mon, 20 Nov 2023 21:22:17 +0200 (EET) Received: from postfix03.mail.de (postfix03.bt.mail.de [10.0.121.127]) by shout01.mail.de (Postfix) with ESMTP id 57BC4245B4D for ; Mon, 20 Nov 2023 20:22:17 +0100 (CET) Received: from smtp01.mail.de (smtp03.bt.mail.de [10.0.121.213]) by postfix03.mail.de (Postfix) with ESMTP id 3E8B8801EC for ; Mon, 20 Nov 2023 20:22:17 +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 93067241585 for ; Mon, 20 Nov 2023 20:22:16 +0100 (CET) To: ffmpeg-devel@ffmpeg.org Date: Mon, 20 Nov 2023 11:22:06 -0800 Message-Id: <20231120192211.77775-3-thilo.borgmann@mail.de> In-Reply-To: <20231120192211.77775-1-thilo.borgmann@mail.de> References: <20231120192211.77775-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::1700508137-89FFA602-F7106A84/0/0 Subject: [FFmpeg-devel] [PATCH v5 2/7] 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: dR3hlMOOnKMz --- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4994781a64..286e7c8b73 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -60,8 +60,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