Do not pass an unused variable when initing filt_out. Less confusing.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 12 Oct 2010 13:47:29 +0000 (13:47 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 12 Oct 2010 13:47:29 +0000 (13:47 +0000)
Originally committed as revision 25448 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 9927006..6b3df46 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1846,7 +1846,7 @@ static int video_thread(void *arg)
     if (avfilter_open(&filt_out, &output_filter, "out") < 0) goto the_end;
 
     if(avfilter_init_filter(filt_src, NULL, is))             goto the_end;
-    if(avfilter_init_filter(filt_out, NULL, frame))          goto the_end;
+    if(avfilter_init_filter(filt_out, NULL, NULL))           goto the_end;
 
 
     if(vfilters) {