diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-03 12:04:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-09 15:47:45 +0200 |
commit | 416e2661ea9c2b55d5b9e25d687f0d2a839d6cd6 (patch) | |
tree | 57afaeb808079daf31948d84e0de26b0c49c3d49 | |
parent | 862a626c9db537f4ba248649353166a5004189b3 (diff) | |
download | ffmpeg-416e2661ea9c2b55d5b9e25d687f0d2a839d6cd6.tar.gz |
fftools/ffmpeg: make sure non-lavfi streams are closed on input EOF
-rw-r--r-- | fftools/ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 438bee8fef..2f1f830507 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -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); } } |