lavfi/dualinput: fix shortest option.

Fix trac ticket #3315.
This commit is contained in:
Nicolas George 2014-01-18 00:34:17 +01:00
parent 77b8d4e521
commit 2dc5980d61
1 changed files with 1 additions and 1 deletions

View File

@ -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;