From patchwork Mon Apr 19 14:09:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 27035 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:5014:0:0:0:0:0 with SMTP id e20csp561400iob; Mon, 19 Apr 2021 07:18:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5tAArHs4Tr1ta7dTpHDJ73jLu05p65tf5bQKULCCdVVCTz9AHf80c2bjKNvIxbU71yjT3 X-Received: by 2002:a05:6402:280c:: with SMTP id h12mr25441609ede.332.1618841903709; Mon, 19 Apr 2021 07:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618841903; cv=none; d=google.com; s=arc-20160816; b=WLoOrtbV/D6j3zOf0pe1U8SwPQ/5/aa8GVc5JR+Lg/mj4u4dg08suuyRiiqNZL3PCh z7yl+Bg24zKQQEmqZYqkoOWBgtV+6UIgo2DUuH+J+39TNSMN4uyADyu/4tEfXUbAXEed GK+TEy1I5RU+P5Jzoqu2YXeZ8Uqcr/bJB2chZDoiEv3PLPc6OHjSx7Td6I3vHDpodbdR Lgsoh01JABCnFNgBWLyXqmvw9yYhpfj0apwpeRGv0oSTgLAoutuTzVjDgtEDUDNPPWtm njsmE48mjHFLEbVY10ho46I9GghGUuFZ0URAkJxcXo9OEdquP6fw0PSOS1ocEbvsORGw tnLA== 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:dkim-signature:delivered-to; bh=HaWdKvVWgcm7ces2ZZfUtSfLnCK/rabtGxMyYqHoSbw=; b=z7opF8L8v9CtELERUAu/+S4CaI4mu5E9OYU9o9sFPcjB+GazJeg29r0cmxAyjqGpE2 MK1Rmqsj+l0D9XdaOCZUNgGxWbF3be8CPttZTauf9ZY+qHcSE6pN/RbWSaR0AIpYUnD7 Sh2CXqmw66LrCUWIP9PmeVQud8MQi98ASNF9nlEoFTwLJM7PkqDAdHq1Bp8Gv5DlQcwn uDIUkXz7qZJ2TyX52q8z0rFJ0QI+XAzJ9wy7gkCe33Zi+MBrydMhJsK9fOMo3RLPLrTG aV2l3JsOnyE0is7ZckP6r9yXosJw3cSJ7FCzMp4/BuVAf+ElYgVgo4HLSoheKiwmmx2t md/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Z70GXyN2; 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=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id kq15si12398231ejb.556.2021.04.19.07.18.23; Mon, 19 Apr 2021 07:18:23 -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=@gmail.com header.s=20161025 header.b=Z70GXyN2; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0BC776899A7; Mon, 19 Apr 2021 17:12:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B612068993C for ; Mon, 19 Apr 2021 17:12:08 +0300 (EEST) Received: by mail-qk1-f177.google.com with SMTP id o5so35882091qkb.0 for ; Mon, 19 Apr 2021 07:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=re/MsFgQtTRLgPblW4qmKtHIqOS0RxpIOzUw3lO0HQo=; b=Z70GXyN2UQm0RoMqqeMRfjzyNX8vPk/NUs1ijpGYgcby0EMNKkfzSOKIPJmbYeW+bg fsx/sq8K05lPTJQ8r7IQhEMF41tWYpxc/OVWt+8pBTXIGgNcoD7pGVEzVQMjj18zcq14 60ih58AgvJnDvSToAoA7kaJkPkMO3CK/DdQ0QynC3CgSK9WY+B6WFwvxmu5wfG0PV80z 7RsGzQ3LsXqxnJBymRYAYbjFwj3Gk6o/nkMq2gfrA8sINRD+PH+Sd8rGyuQrCdR7H6Tr F/mouvNT9c9lRqbz3PwUuW739ckOO9Qy5Bw9qagKhUoppAdmLiroP4odk//H8RFmI49d k6+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=re/MsFgQtTRLgPblW4qmKtHIqOS0RxpIOzUw3lO0HQo=; b=EI05S2VYptqIe25+SfJYqhX6pUsEuuCwFsfQb0XYbdz6R0mSMy26O1c7zN5ua/r21+ 0zNMoTyk9N7k8l07hVp2YpBi7+A49hIIJz2ptQe65nPQ4LrVH5Bk6LSscRNcE4YDSqmI eGDQaskqFgFr+PZjgWS/h9L11XGzPDD8Fn3z1ZXTulyxSrR3Nw8RSKmmbhJPaQ8q2JmG 6II6253A7nUWCjv/Ugad2YVP6qXYt1PhdyGWhq92EeS0voXEhYjCQZNE4wZ35kqQk2Cc VW8d3HcVIP97egRH/fmPX8WCEY2yVeDVthWuKDUjVKXrOnpB6AkGulOQgqy6Rcwg4UcN TPaw== X-Gm-Message-State: AOAM532kXyI5Me3ocYvsBCSJ8OI2gpb74PlpiDo3x7D6UT7kPyVqae/c ta6p/6s9LhJW4vHswX5jHnOPKcIktcU= X-Received: by 2002:a05:620a:66a:: with SMTP id a10mr7143299qkh.272.1618841527398; Mon, 19 Apr 2021 07:12:07 -0700 (PDT) Received: from localhost.localdomain ([191.83.209.133]) by smtp.gmail.com with ESMTPSA id f7sm2049494qtv.53.2021.04.19.07.12.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Apr 2021 07:12:07 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Mon, 19 Apr 2021 11:09:52 -0300 Message-Id: <20210419141024.8174-56-jamrial@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210419141024.8174-1-jamrial@gmail.com> References: <20210419141024.8174-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 55/87] avfilter/formats: Remove avfilter_make_format64_list() 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: PvuMhI7hjXdZ From: Andreas Rheinhardt The API it is part of has been made private long ago (see commit b74a1da49db5ebed51aceae6cacc2329288a92c1). Signed-off-by: Andreas Rheinhardt --- libavfilter/formats.c | 7 ------- libavfilter/formats.h | 4 ---- 2 files changed, 11 deletions(-) diff --git a/libavfilter/formats.c b/libavfilter/formats.c index 713173e707..6c05b118c9 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -304,13 +304,6 @@ AVFilterChannelLayouts *ff_make_format64_list(const int64_t *fmts) return formats; } -#if LIBAVFILTER_VERSION_MAJOR < 8 -AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts) -{ - return ff_make_format64_list(fmts); -} -#endif - #define ADD_FORMAT(f, fmt, unref_fn, type, list, nb) \ do { \ type *fmts; \ diff --git a/libavfilter/formats.h b/libavfilter/formats.h index 0520bf42a9..3a6044971b 100644 --- a/libavfilter/formats.h +++ b/libavfilter/formats.h @@ -157,10 +157,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void); av_warn_unused_result AVFilterChannelLayouts *ff_make_format64_list(const int64_t *fmts); -#if LIBAVFILTER_VERSION_MAJOR < 8 -AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts); -#endif - /** * A helper for query_formats() which sets all links to the same list of channel * layouts/sample rates. If there are no links hooked to this filter, the list