aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-09-07 15:39:03 +0200
committerAnton Khirnov <anton@khirnov.net>2023-10-10 12:41:31 +0200
commite35d36eb72b915bd0edf8dc37c78c59987c3f430 (patch)
tree532076bea42677acbfa206586b21a621f9bc9a70 /fftools/ffmpeg.c
parent99567ee8706dd3f17705ddc35c87d1d0912086bc (diff)
downloadffmpeg-e35d36eb72b915bd0edf8dc37c78c59987c3f430.tar.gz
ffools/ffmpeg_filter: stop trying to handle an unreachable state
ifilter_send_eof() will fail if the input has no real or fallback parameters, so there is no need to handle the case of some inputs being in EOF state yet having no parameters.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index fd2ce1c2d0..14f55cbec7 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -944,7 +944,7 @@ static int choose_output(OutputStream **post)
INT64_MIN : ost->last_mux_dts;
}
- if (!ost->initialized && !ost->inputs_done && !ost->finished) {
+ if (!ost->initialized && !ost->finished) {
ost_min = ost;
break;
}