ffmpeg | branch: master | Nicolas George <geo...@nsup.org> | Mon Dec 2 16:41:07 2019 +0100| [65e6850c567066a3ce54dad60b1f05c2677c84cf] | committer: Nicolas George
lavfi: remove ff_poll_frame(). It is never used. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65e6850c567066a3ce54dad60b1f05c2677c84cf --- libavfilter/avfilter.c | 18 ------------------ libavfilter/internal.h | 9 --------- 2 files changed, 27 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", diff --git a/libavfilter/internal.h b/libavfilter/internal.h index 1d77808082..f98127c442 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -289,15 +289,6 @@ static inline int ff_insert_outpad(AVFilterContext *f, unsigned index, &f->output_pads, &f->outputs, p); } -/** - * Poll a frame from the filter chain. - * - * @param link the input link - * @return the number of immediately available frames, a negative - * number in case of error - */ -int ff_poll_frame(AVFilterLink *link); - /** * Request an input frame from the filter at the other end of the link. * _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".