diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-30 11:11:25 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-30 11:11:25 +0000 |
commit | c5ec0d9d4f0b4fab8216d711dd37967e878b711d (patch) | |
tree | 9c873015b16c992bab618ee3d789031e68a0b4f1 /libavfilter | |
parent | b94ca2080343a0adb7e8430b48f502f2396f2b4e (diff) | |
download | ffmpeg-c5ec0d9d4f0b4fab8216d711dd37967e878b711d.tar.gz |
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.
Originally committed as revision 20419 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_null.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavfilter/vf_null.c b/libavfilter/vf_null.c index 582708ce0c..3724ac7d68 100644 --- a/libavfilter/vf_null.c +++ b/libavfilter/vf_null.c @@ -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}}, |