mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-23 07:16:56 +00:00
fftools/ffmpeg: stop explicitly closing output streams on input EOF
Sending an empty packet already does that implicitly.
This commit is contained in:
parent
69c308a6d1
commit
8f2e7e9dcf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user