From patchwork Fri Dec 15 19:59:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thilo Borgmann X-Patchwork-Id: 45164 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1225:b0:181:818d:5e7f with SMTP id v37csp5908315pzf; Fri, 15 Dec 2023 11:59:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFv+EL4MsMQDHIpeOcpRrIjTAXtAOi0lEO5i6MFbkH5f2wn7Q+1c2APy65/NsdoGEbLpRAK X-Received: by 2002:a2e:b8ca:0:b0:2cc:52a3:e7f8 with SMTP id s10-20020a2eb8ca000000b002cc52a3e7f8mr506539ljp.68.1702670369502; Fri, 15 Dec 2023 11:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702670369; cv=none; d=google.com; s=arc-20160816; b=M7K6lCB+/bZjPpN/yd5e2a1eVMJnzsvTbwUiISmkno9AntKniO1yxapote2IENjJzj cf8kHJ+y5rURssSXvmPNtAmmxCRpRc8h5OF3wIAZsFpYZKyWWHwhZtGLjAMZBs8ArNJa KtWs2VJtihX70btHtRpwSWlxNdP7pIEHGlsnutvX7iUUjYW9XC8rZeLh9amS+Kp6jQhJ Rbd8zORKL28L6FF8It/2TxmfCozcnU0GJ3Y9yAPM59mz2HWe6S6IeTyKvEderXE4VxK8 NZnI70pkUEhuVMzyyjthtLlSrKULtQHuZon/KWlwgMrNpOAWE1eV2u9GIzK/vR0KKVSG J3Mg== 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=Mk6ZrCOpEYQHxvxwV8l3qyd1wPUbSHcJ7UPeAuDY2uU=; fh=uZWItAgYCSLFS5Zum7Ip+PilGyWYOeCwun+We0BTHAs=; b=yeCiZxCNuUgMGqEMGi/+DoqaYVMVIAiirJIQT6ApxKMqgYXmz+4v2iA3BcTitZ3cZs ZPlfcWXDAoG60vQENhhhPtbO1fcDxr1OG4Jvqia7cesD0X2I42w6Lyqcv+33yvgMggw9 VtO5KEwV0db509hrwXGb6tcX6xGOR2sHhxf99gqCrZUbMt8LiHmyk4fmrfnCHtYw/rAy XqDYfFRp5hVb2xOY4DL1DskFu1sGjkMibq5MhScobpOEBdKm6QX2Y4jAfjEerKVcjN9Q K01XnKKFwNymENqPkLwHbvJDolIGYtv0aHHKJhOHHYgAZuZoV66NwRYO3GwdlEsDKZe2 889w== 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 f27-20020a50d55b000000b005525f3a6784si2088547edj.146.2023.12.15.11.59.29; Fri, 15 Dec 2023 11:59:29 -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 6928D68D0BB; Fri, 15 Dec 2023 21:59:26 +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 36F2368D086 for ; Fri, 15 Dec 2023 21:59:19 +0200 (EET) Received: from postfix01.mail.de (postfix01.bt.mail.de [10.0.121.125]) by shout02.mail.de (Postfix) with ESMTP id D553A240DB9 for ; Fri, 15 Dec 2023 20:59:18 +0100 (CET) Received: from smtp01.mail.de (smtp01.bt.mail.de [10.0.121.211]) by postfix01.mail.de (Postfix) with ESMTP id BD250801A9 for ; Fri, 15 Dec 2023 20:59:18 +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 84C68240FDC for ; Fri, 15 Dec 2023 20:59:18 +0100 (CET) To: ffmpeg-devel@ffmpeg.org Date: Fri, 15 Dec 2023 20:59:13 +0100 Message-Id: <20231215195917.91300-2-thilo.borgmann@mail.de> In-Reply-To: <20231215195917.91300-1-thilo.borgmann@mail.de> References: <20231215195917.91300-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: 581 X-purgate-ID: 154282::1702670358-225BF670-7FFCB842/0/0 Subject: [FFmpeg-devel] [PATCH v8 1/5] 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: ydEHmD08BOtV --- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 54b3fde6dc..4fd107aa0c 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