aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_filter.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-08-19 23:59:41 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-08-22 19:04:30 +0200
commit425b77114ba25da1764c9f615a318c2e1c5b4745 (patch)
tree737c0d165338cf72fedeba1693299869dcfce863 /ffmpeg_filter.c
parentbeeba9161a091d4d352e6fe5224c86c383f1aaa7 (diff)
downloadffmpeg-425b77114ba25da1764c9f615a318c2e1c5b4745.tar.gz
ffmpeg: make decoding_needed a counter.
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r--ffmpeg_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index 5dcfaa4601..cae82292aa 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -266,7 +266,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in)
av_assert0(ist);
ist->discard = 0;
- ist->decoding_needed = 1;
+ ist->decoding_needed++;
ist->st->discard = AVDISCARD_NONE;
fg->inputs = grow_array(fg->inputs, sizeof(*fg->inputs),