1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ffmpeg: make decoding_needed a counter.

This commit is contained in:
Nicolas George 2012-08-19 23:59:41 +02:00
parent beeba9161a
commit 425b77114b
2 changed files with 2 additions and 2 deletions

View File

@ -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 &&

View File

@ -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),