[FFmpeg-devel] [PATCH 2/6] Do not pass an unused variable when initing filt_out. Less confusing.

Stefano Sabatini stefano.sabatini-lala
Tue Oct 12 12:01:32 CEST 2010


---
 ffplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index a9fb7aa..dc031a3 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1848,7 +1848,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) {
-- 
1.7.1




More information about the ffmpeg-devel mailing list