Merge commit '63f800ca5f4f6b38f3789a7edb03bfabe8bacdd2'
[ffmpeg.git] / ffmpeg_filter.c
index 7acff28..93af8ce 100644 (file)
@@ -275,7 +275,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in)
     av_assert0(ist);
 
     ist->discard         = 0;
-    ist->decoding_needed++;
+    ist->decoding_needed |= DECODING_FOR_FILTER;
     ist->st->discard = AVDISCARD_NONE;
 
     GROW_ARRAY(fg->inputs, fg->nb_inputs);