From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 2DF0E4239E for ; Tue, 15 Mar 2022 09:06:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2A4DF68B19D; Tue, 15 Mar 2022 11:06:00 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2458A68B1BA for ; Tue, 15 Mar 2022 11:05:53 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 885B3240506 for ; Tue, 15 Mar 2022 10:05:51 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id GM4q-7wcREhM for ; Tue, 15 Mar 2022 10:05:51 +0100 (CET) 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 A995924050B for ; Tue, 15 Mar 2022 10:05:46 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id 24A3C3A0836; Tue, 15 Mar 2022 10:05:46 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 15 Mar 2022 10:05:30 +0100 Message-Id: <20220315090532.27295-8-anton@khirnov.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220315090532.27295-1-anton@khirnov.net> References: <20220315090532.27295-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 08/10] fftools/ffprobe; drop -show_format_entry 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Deprecated since 2012. --- fftools/ffprobe.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 42032ee9d6..c4e962389f 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3618,22 +3618,6 @@ static int opt_show_entries(void *optctx, const char *opt, const char *arg) return ret; } -static int opt_show_format_entry(void *optctx, const char *opt, const char *arg) -{ - char *buf = av_asprintf("format=%s", arg); - int ret; - - if (!buf) - return AVERROR(ENOMEM); - - av_log(NULL, AV_LOG_WARNING, - "Option '%s' is deprecated, use '-show_entries format=%s' instead\n", - opt, arg); - ret = opt_show_entries(optctx, opt, buf); - av_free(buf); - return ret; -} - static void opt_input_file(void *optctx, const char *arg) { if (input_filename) { @@ -3894,8 +3878,6 @@ static const OptionDef real_options[] = { { "show_error", 0, { .func_arg = &opt_show_error }, "show probing error" }, { "show_format", 0, { .func_arg = &opt_show_format }, "show format/container info" }, { "show_frames", 0, { .func_arg = &opt_show_frames }, "show frames info" }, - { "show_format_entry", HAS_ARG, {.func_arg = opt_show_format_entry}, - "show a particular entry from the format/container info", "entry" }, { "show_entries", HAS_ARG, {.func_arg = opt_show_entries}, "show a set of specified entries", "entry_list" }, #if HAVE_THREADS -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".