summaryrefslogtreecommitdiff
path: root/ffmpeg.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.c
parentbeeba9161a091d4d352e6fe5224c86c383f1aaa7 (diff)
ffmpeg: make decoding_needed a counter.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2459199014..597c05170a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2108,7 +2108,7 @@ static int transcode_init(void)
}
if (ist)
- ist->decoding_needed = 1;
+ ist->decoding_needed++;
ost->encoding_needed = 1;
if (!ost->filter &&