From patchwork Sat Jul 15 10:45:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 42722 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6da1:b0:131:a7d0:bc6d with SMTP id gl33csp4240433pzb; Sat, 15 Jul 2023 03:50:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHv5BlEnT2g8a6eQRKuKoZC0SRbyP04hIZaRH2hoMbkPZyrmpR7TcSzVzYvBP5A9Mq7gFOt X-Received: by 2002:adf:f988:0:b0:313:f505:8211 with SMTP id f8-20020adff988000000b00313f5058211mr7169492wrr.46.1689418250975; Sat, 15 Jul 2023 03:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689418250; cv=none; d=google.com; s=arc-20160816; b=EOazXQ6NW6PSzpXGhOGx8M+qta90hMYHN29zg/xxnqpshC1MYrP1y5sF+fj+21oL2b Zdo6HWzkgLg3NJYM9bAEMPnSExNhdTOMXD8DsKchCqvtX1k/c7To/mGa6N6Xgvlmx5lb WqzxphxtER7Rm4RMwTb87+qqtcOQ/HFsFb9JO13VKaXM049LiRcW3hrAg0lNgzfZuvEc iRCQIP6c+Io4vXLZmJCOdgeYHHlsO5j1ue4+WyOGnmG4Uljp+rLmRDvlcOhdtVTt8F8A si6M9Qax7MbSAExWvhSf2EAmVC/9WxzdXJCEVUpkJicYeSVK/QbGtvz951K/aE5TakzJ KOgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=ZTjbRFEJXbsxVioT/weO4/6oQ72Z5CAoornRAKQNipA=; fh=8ZF2QtiKOjBtyn9wuO2cMeZaLsE4aq02Bq77gGK61E8=; b=GizZs7ozCM7hDgPVLVWPF5PLcDI4tAMgOXZbfhOERcewObuNFtbXIXhGaEeUSlpwiK s1SE1doKyiyVi9L7rcUCIzn+ZpvejfMPQUeFPyjRBNET0PnSa2U/JrQ1A8AiW/ohZG8F 1H2NFr4IMWsAIgJ/KF0JxY7GZcfQk4WMQ+5zmqV1u755JFnJo6rf5viqMsmITyCw/Nzn TscRTPP73loU9ipTwI24itrUG+SJ9sugGstjcOWaCfv5sKySFsjBga4rme67y6KswWo6 8PyuoVdmIsS7R2QLn/svVK0JQLSK/ZoaDkhuOZALoBHIQ8EvH3ocJS8o+uhCzIWng3kJ 7V9w== 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 r4-20020aa7cb84000000b0051dff4f3c97si10593637edt.132.2023.07.15.03.50.50; Sat, 15 Jul 2023 03:50:50 -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 D3F8768C762; Sat, 15 Jul 2023 13:47:07 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B920E68C6CA for ; Sat, 15 Jul 2023 13:46:44 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 7D4562404EE for ; Sat, 15 Jul 2023 12:46:44 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id KFqQYJVCK_uE for ; Sat, 15 Jul 2023 12:46:42 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 0DBAB240D20 for ; Sat, 15 Jul 2023 12:46:27 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 215F93A1ED2 for ; Sat, 15 Jul 2023 12:46:21 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 15 Jul 2023 12:45:49 +0200 Message-Id: <20230715104611.17902-25-anton@khirnov.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230715104611.17902-1-anton@khirnov.net> References: <20230715104611.17902-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 25/47] fftools/cmdutils: drop unused ALLOC_ARRAY_ELEM() 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: tvB/GEzFS0no --- fftools/cmdutils.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h index f54f3322ef..decd23040f 100644 --- a/fftools/cmdutils.h +++ b/fftools/cmdutils.h @@ -443,9 +443,6 @@ void *allocate_array_elem(void *array, size_t elem_size, int *nb_elems); #define GROW_ARRAY(array, nb_elems)\ array = grow_array(array, sizeof(*array), &nb_elems, nb_elems + 1) -#define ALLOC_ARRAY_ELEM(array, nb_elems)\ - allocate_array_elem(&array, sizeof(*array[0]), &nb_elems) - #define GET_PIX_FMT_NAME(pix_fmt)\ const char *name = av_get_pix_fmt_name(pix_fmt);