Sending an empty packet already does that implicitly. --- fftools/ffmpeg.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 7d2a25f2bf..462365ed02 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1104,7 +1104,6 @@ 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); of_output_packet(of, ost->pkt, ost, 1); } } -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".