[FFmpeg-cvslog] lavfi/fieldorder: remove redundant get_video_buffer()

Paul B Mahol git at videolan.org
Fri Sep 6 20:49:27 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep  6 13:58:59 2013 +0000| [9b35bee696739eb6774bdba30504c51132e2a934] | committer: Paul B Mahol

lavfi/fieldorder: remove redundant get_video_buffer()

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b35bee696739eb6774bdba30504c51132e2a934
---

 libavfilter/vf_fieldorder.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c
index 7ff8841..16310ce 100644
--- a/libavfilter/vf_fieldorder.c
+++ b/libavfilter/vf_fieldorder.c
@@ -82,14 +82,6 @@ static int config_input(AVFilterLink *inlink)
     return 0;
 }
 
-static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h)
-{
-    AVFilterContext   *ctx        = inlink->dst;
-    AVFilterLink      *outlink    = ctx->outputs[0];
-
-    return ff_get_video_buffer(outlink, w, h);
-}
-
 static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
 {
     AVFilterContext   *ctx     = inlink->dst;
@@ -163,7 +155,6 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_input,
-        .get_video_buffer = get_video_buffer,
         .filter_frame     = filter_frame,
         .needs_writable   = 1,
     },



More information about the ffmpeg-cvslog mailing list