ffmpeg: fix uninitialized variable warning
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 May 2012 18:02:49 +0000 (20:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 May 2012 18:02:49 +0000 (20:02 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index c5d78fe..a8387c1 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -878,7 +878,7 @@ static FilterGraph *init_simple_filtergraph(InputStream *ist, OutputStream *ost)
 
 static void init_input_filter(FilterGraph *fg, AVFilterInOut *in)
 {
-    InputStream *ist;
+    InputStream *ist = NULL;
     enum AVMediaType type = in->filter_ctx->input_pads[in->pad_idx].type;
     int i;