[FFmpeg-cvslog] r20419 - trunk/libavfilter/vf_null.c

stefano subversion
Fri Oct 30 12:11:25 CET 2009


Author: stefano
Date: Fri Oct 30 12:11:25 2009
New Revision: 20419

Log:
Remove the get_video_buffer() callback.

That was never required since avfilter_get_video_buffer() already
calls itself on the next link if get_video_buffer is not defined.

Modified:
   trunk/libavfilter/vf_null.c

Modified: trunk/libavfilter/vf_null.c
==============================================================================
--- trunk/libavfilter/vf_null.c	Fri Oct 30 11:38:05 2009	(r20418)
+++ trunk/libavfilter/vf_null.c	Fri Oct 30 12:11:25 2009	(r20419)
@@ -23,12 +23,6 @@
 
 #include "avfilter.h"
 
-static AVFilterPicRef *get_video_buffer(AVFilterLink *link, int perms,
-                                        int w, int h)
-{
-    return avfilter_get_video_buffer(link->dst->outputs[0], perms, w, h);
-}
-
 static void start_frame(AVFilterLink *link, AVFilterPicRef *picref)
 {
     avfilter_start_frame(link->dst->outputs[0], picref);
@@ -47,7 +41,6 @@ AVFilter avfilter_vf_null = {
 
     .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                     .type             = CODEC_TYPE_VIDEO,
-                                    .get_video_buffer = get_video_buffer,
                                     .start_frame      = start_frame,
                                     .end_frame        = end_frame },
                                   { .name = NULL}},



More information about the ffmpeg-cvslog mailing list