Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2019-12-02 18:41:07 +0300
committerNicolas George <george@nsup.org>2019-12-23 15:03:38 +0300
commit65e6850c567066a3ce54dad60b1f05c2677c84cf (patch)
tree83fd6ba08e5802eb43afe2b0eb0a21c6e26622b8 /libavfilter/avfilter.c
parent9ea7e68907f0704e0812784a551117a9b1fd5018 (diff)
lavfi: remove ff_poll_frame().
It is never used.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 1004a6ee1d..baafd029e9 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -467,24 +467,6 @@ static int ff_request_frame_to_filter(AVFilterLink *link)
return ret;
}
-int ff_poll_frame(AVFilterLink *link)
-{
- int i, min = INT_MAX;
-
- if (link->srcpad->poll_frame)
- return link->srcpad->poll_frame(link);
-
- for (i = 0; i < link->src->nb_inputs; i++) {
- int val;
- if (!link->src->inputs[i])
- return AVERROR(EINVAL);
- val = ff_poll_frame(link->src->inputs[i]);
- min = FFMIN(min, val);
- }
-
- return min;
-}
-
static const char *const var_names[] = {
"t",
"n",