aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/dualinput.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2014-01-18 00:34:17 +0100
committerNicolas George <george@nsup.org>2014-01-19 17:13:36 +0100
commit2dc5980d61493e05ccb04271a685fe804d87b155 (patch)
treee39246d265b884fe9d96a54acb91a32d08b6fa95 /libavfilter/dualinput.c
parent77b8d4e521309c40a940aeaafb6df8ca1d7f3c1f (diff)
downloadffmpeg-2dc5980d61493e05ccb04271a685fe804d87b155.tar.gz
lavfi/dualinput: fix shortest option.
Fix trac ticket #3315.
Diffstat (limited to 'libavfilter/dualinput.c')
-rw-r--r--libavfilter/dualinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dualinput.c b/libavfilter/dualinput.c
index 97e15cbe01..88f7a272f1 100644
--- a/libavfilter/dualinput.c
+++ b/libavfilter/dualinput.c
@@ -57,7 +57,7 @@ int ff_dualinput_init(AVFilterContext *ctx, FFDualInputContext *s)
in[1].after = EXT_INFINITY;
if (s->shortest)
- in[1].after = EXT_STOP;
+ in[0].after = in[1].after = EXT_STOP;
if (!s->repeatlast) {
in[0].after = EXT_STOP;
in[1].sync = 0;