You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffmpeg: make sure non-lavfi streams are closed on input EOF
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user