mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
fftools/ffmpeg: make sure non-lavfi streams are closed on input EOF
This commit is contained in:
parent
862a626c9d
commit
416e2661ea
@ -3804,6 +3804,7 @@ static int process_input(int file_index)
|
||||
if (ost->ist == ist &&
|
||||
(!ost->enc_ctx || ost->enc_ctx->codec_type == AVMEDIA_TYPE_SUBTITLE)) {
|
||||
OutputFile *of = output_files[ost->file_index];
|
||||
close_output_stream(ost);
|
||||
of_output_packet(of, ost->pkt, ost, 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user