Commit 4ff77d44 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: check ost->finished in check_output_constraints()

No testcase but it seems logic to stop when finished is set
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7d91fb30
......@@ -1407,6 +1407,9 @@ static int check_output_constraints(InputStream *ist, OutputStream *ost)
if (ost->source_index != ist_index)
return 0;
if (ost->finished)
return 0;
if (of->start_time != AV_NOPTS_VALUE && ist->pts < of->start_time)
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment