From patchwork Fri Jan 29 05:23:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25246 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 CD32544B7ED for ; Fri, 29 Jan 2021 07:31:44 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A209B689CFB; Fri, 29 Jan 2021 07:31:44 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BBD52687FCE for ; Fri, 29 Jan 2021 07:31:38 +0200 (EET) Received: by mail-wr1-f51.google.com with SMTP id g10so7615434wrx.1 for ; Thu, 28 Jan 2021 21:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3MPCVJZysQ0JAqUEhcjgMMr0ngxALI+tlxOHZR/eyqw=; b=RSWbKmgH9JZiyoDR7/G/M0+29QJhLdVno7rHyEWqA+1MMDKm+zUUh+3txRPBgqvuO8 Q3/394BndalrNmJevDiwaiBTQsV2UrN8mvktXOtCFCXDr9z/pZ7j7ibIKRIiVPpWrI6U ziDRJf5ZHk7vAkDCShFs6Ai159eYi9huRDiPHbFLOh8iYGAYKxFCWHr07B3b3o4j24L+ 2un71/SaZNfXENf9ZUl7NARlN3MFA77ur4A7HcYsMzhQobq9efPGJZKrQ8SHH8BwmRFM gsD5Obgcg5j/6Im7EKR63bDHV62k6TIVmzgJyCLRbB44odbY1jWKq5Cw0icriZ3y2Hxr 9RgQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=3MPCVJZysQ0JAqUEhcjgMMr0ngxALI+tlxOHZR/eyqw=; b=OClhMkr1ti6cm3YkP5sWR9zijzV8IPQf7ZFLf6wYiB5OpgPk0Tf9/9nlp/ajeKwHPT xoQP8ab5gKUBRtb7RCPCUJ2DfulgaULiHgbZdLk+3WreRgCfs76rAEc6jTT9FfhtDXpO JHuksAXNdRE6E4f5HfFbWLyjky/fSyHLpFx5yIUkdw8+q7SKQRErLMSgdbWwZb75LP+b uGIozuegkf9hMXxSn0czg0Eo+S+Wu3BmhFRw25dUxnC1PleQOGp6LDRpbjlmuKg6ddPn 0BM+n8yEmb8EYthzFGtpx7kC/pWhl7wRf7erMzTdPOTo/pJ1oZpDjEiDKHZZNjSCA7kx F4Fg== X-Gm-Message-State: AOAM530R9f0xSvsz+jNwgtk+A3VUchLFZnAiBvd40N7tCH39aqTQYArT hq8L2HmqumOhltOEUVuYWqIcfsEALIM= X-Google-Smtp-Source: ABdhPJwWE9pQFdbJU6j4aeHr/GcIxx2Q59JubOdU/v1T/cqrXGrnkRrmfOHp8GAuHBBXcfBav7/XFw== X-Received: by 2002:a5d:5049:: with SMTP id h9mr2572256wrt.404.1611897985438; Thu, 28 Jan 2021 21:26:25 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id d13sm10068611wrx.93.2021.01.28.21.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 21:26:24 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 29 Jan 2021 06:23:01 +0100 Message-Id: <20210129052302.3124447-12-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210129052302.3124447-1-andreas.rheinhardt@gmail.com> References: <20210129052302.3124447-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 12/13] fftools/ffmpeg_filter: Remove ist_in_filtergraph 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" Unused since af1761f7b5b1b72197dc40934953b775c2d951cc. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg.h | 1 - fftools/ffmpeg_filter.c | 9 --------- 2 files changed, 10 deletions(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 6750432a81..fa726575f4 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -656,7 +656,6 @@ enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *avctx, int configure_filtergraph(FilterGraph *fg); int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out); void check_filter_outputs(void); -int ist_in_filtergraph(FilterGraph *fg, InputStream *ist); int filtergraph_is_simple(FilterGraph *fg); int init_simple_filtergraph(InputStream *ist, OutputStream *ost); int init_complex_filtergraph(FilterGraph *fg); diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 38e44d560b..aff0ebe6ab 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1183,15 +1183,6 @@ int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame) return 0; } -int ist_in_filtergraph(FilterGraph *fg, InputStream *ist) -{ - int i; - for (i = 0; i < fg->nb_inputs; i++) - if (fg->inputs[i]->ist == ist) - return 1; - return 0; -} - int filtergraph_is_simple(FilterGraph *fg) { return !fg->graph_desc;