OSDN Git Service

ffmpeg: fix FF_API_OLD_VSINK_API=0 case
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 24 Jun 2012 00:03:01 +0000 (02:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 24 Jun 2012 00:05:57 +0000 (02:05 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index be28d2b..e73b76b 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -792,7 +792,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
 #else
     ret = avfilter_graph_create_filter(&ofilter->filter,
                                        avfilter_get_by_name("buffersink"),
-                                       "ffmpeg_buffersink", NULL, buffersink_params, fg->graph);
+                                       "ffmpeg_buffersink", NULL, NULL/*buffersink_params*/, fg->graph);
 #endif
     av_freep(&buffersink_params);