From patchwork Sat Aug 8 14:01:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 21539 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id E6665449249 for ; Sat, 8 Aug 2020 17:09:10 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BC15A68B861; Sat, 8 Aug 2020 17:09:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f66.google.com (mail-ej1-f66.google.com [209.85.218.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2C17F68B4C4 for ; Sat, 8 Aug 2020 17:09:04 +0300 (EEST) Received: by mail-ej1-f66.google.com with SMTP id g19so4933205ejc.9 for ; Sat, 08 Aug 2020 07:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W2WuJYCNoiz90Ht0bI+esB09N1oAZb5wJH0eQJPSvjU=; b=MEQUrz13XcS87pWOpQDsoKashA3/UvuAfM5eJ2LGzjBAYxn0O4SKZ5+8GBON7IwRAK f7OCwt+dP129Y2A1GInOfqohn8OHvPzaCVh/y6az/XVjGDLL4lsOI3hQgqEAIRA4+7HO aw3wvjLZNqI7Z2QlRKitdmLygbBR0EXjErMZGYrfUkYtLChI+kycucHiNg8A0amP66Xd wOBvCG3CiXbiWfMaENRnMQwmLiW4+OAWnT75hZNC7ReC1uNyo5XJ/xL04JWWgijSogC4 c85L6iUaH2VUX/V2U0kmetWrUaPHCC7CJ9XkwgUPMa1uPcSbKzyiFVcJXEzXYzl1B69d U3Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W2WuJYCNoiz90Ht0bI+esB09N1oAZb5wJH0eQJPSvjU=; b=KxPXs0N0OTpXG/7r1Ce+h+NtPmgwoUoqePcyfPZOvID6sYhaYPw7gERD3YbjrTMYEI Hwgs7S4L/5IRGXYPzei6K/H/1auUi6T5snQOcWSvAfad8Ts7D//YsTbEe+XfIYUNb/Je /FiRusNUcCpp77NqHZOx+2QwKv67QalPrGOepW8/hwwo8EUv5VpYc5HUbxnNU3EoBaSK adUWMKoq278aE12rzHjf4zgsUED1a/Tl6IfB+fYz25QhB6Ni5maSijgdXtmztA0jL7mJ xJRbxsncr11b5QssOj7r2Xx3mHGKIQfq8KJGYWlF49NThxjRRLnPaWKvg9DSG8mf1Dpi /x8A== X-Gm-Message-State: AOAM532HR9vGMZ+D9T4isGVIb68C7yauCiw3yiHPiHMagHu/La/wNE8J a4uyQBzQmmyAnF94Gcnfjk5FIaq5 X-Google-Smtp-Source: ABdhPJweLvR8ey11+azRBRiY5KYduv7yHDwZVwQkwd8ZfhEFjBZANMfz19xGX9ncAFov0SordjP9Tg== X-Received: by 2002:a17:906:8316:: with SMTP id j22mr13636814ejx.20.1596895743223; Sat, 08 Aug 2020 07:09:03 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc10296.dynamic.kabel-deutschland.de. [188.193.2.150]) by smtp.gmail.com with ESMTPSA id g21sm7618991edm.65.2020.08.08.07.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Aug 2020 07:09:02 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 8 Aug 2020 16:01:57 +0200 Message-Id: <20200808140202.586-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/6] avfilter/formats: Remove ff_make_formatu64_list() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" It is unused since 8cbb055760c725d0fb99fb759caabb5f4e37e340 and it actually coincides with avfilter_make_format64_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/formats.c | 11 ----------- libavfilter/formats.h | 3 --- 2 files changed, 14 deletions(-) diff --git a/libavfilter/formats.c b/libavfilter/formats.c index de4315369d..bcc539bb38 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -289,17 +289,6 @@ AVFilterFormats *ff_make_format_list(const int *fmts) return formats; } -AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts) -{ - MAKE_FORMAT_LIST(AVFilterChannelLayouts, - channel_layouts, nb_channel_layouts); - if (count) - memcpy(formats->channel_layouts, fmts, - sizeof(*formats->channel_layouts) * count); - - return formats; -} - AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts) { MAKE_FORMAT_LIST(AVFilterChannelLayouts, diff --git a/libavfilter/formats.h b/libavfilter/formats.h index cc588f30d8..708bee3ee8 100644 --- a/libavfilter/formats.h +++ b/libavfilter/formats.h @@ -141,9 +141,6 @@ AVFilterChannelLayouts *ff_all_channel_counts(void); av_warn_unused_result AVFilterChannelLayouts *avfilter_make_format64_list(const int64_t *fmts); -av_warn_unused_result -AVFilterChannelLayouts *ff_make_formatu64_list(const uint64_t *fmts); - /** * A helper for query_formats() which sets all links to the same list of channel