... | ... |
@@ -266,7 +266,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in) |
266 | 266 |
av_assert0(ist); |
267 | 267 |
|
268 | 268 |
ist->discard = 0; |
269 |
- ist->decoding_needed = 1; |
|
269 |
+ ist->decoding_needed++; |
|
270 | 270 |
ist->st->discard = AVDISCARD_NONE; |
271 | 271 |
|
272 | 272 |
fg->inputs = grow_array(fg->inputs, sizeof(*fg->inputs), |