aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-30 15:24:15 +0200
committerAnton Khirnov <anton@khirnov.net>2023-08-30 11:51:42 +0200
commit8f2e7e9dcf7396d8af4816bc7b629a329e02dfdb (patch)
tree0f18d7b13f67ae140f1c2b7deb41bc2e0d385333 /fftools
parent69c308a6d1f6027bc3328cd8f4d38fb516ee10b8 (diff)
downloadffmpeg-8f2e7e9dcf7396d8af4816bc7b629a329e02dfdb.tar.gz
fftools/ffmpeg: stop explicitly closing output streams on input EOF
Sending an empty packet already does that implicitly.
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 6130fd06fc..c7822f8045 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1124,7 +1124,7 @@ static int process_input(int file_index)
for (int oidx = 0; oidx < ist->nb_outputs; oidx++) {
OutputStream *ost = ist->outputs[oidx];
OutputFile *of = output_files[ost->file_index];
- close_output_stream(ost);
+
ret = of_output_packet(of, ost, NULL);
if (ret < 0)
return ret;