summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 9b6bb3d759..8ab8aee711 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3478,12 +3478,6 @@ static int need_output(void)
if (ost->finished || of_finished(of))
continue;
- if (ost->frame_number >= ost->max_frames) {
- int j;
- for (j = 0; j < of->ctx->nb_streams; j++)
- close_output_stream(output_streams[of->ost_index + j]);
- continue;
- }
return 1;
}