diff options
author | Nicolas George <george@nsup.org> | 2014-01-18 00:34:17 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-01-19 17:13:36 +0100 |
commit | 2dc5980d61493e05ccb04271a685fe804d87b155 (patch) | |
tree | e39246d265b884fe9d96a54acb91a32d08b6fa95 /libavfilter/dualinput.c | |
parent | 77b8d4e521309c40a940aeaafb6df8ca1d7f3c1f (diff) | |
download | ffmpeg-2dc5980d61493e05ccb04271a685fe804d87b155.tar.gz |
lavfi/dualinput: fix shortest option.
Fix trac ticket #3315.
Diffstat (limited to 'libavfilter/dualinput.c')
-rw-r--r-- | libavfilter/dualinput.c | 2 |
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; |