diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-07-14 16:40:06 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-07-14 16:40:06 +0200 |
| commit | edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f (patch) | |
| tree | b64f4d6742199c8f77232dbedbab9b79929d6d24 /src/blind-stack.c | |
| parent | Add blind-matrix-{orthoproject,reflect,rotate,scale,shear,translate,transpose} (diff) | |
| download | blind-edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f.tar.gz blind-edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f.tar.bz2 blind-edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f.tar.xz | |
blind-stack: fix frame count prediction
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/blind-stack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blind-stack.c b/src/blind-stack.c index c317bf5..e74b62d 100644 --- a/src/blind-stack.c +++ b/src/blind-stack.c @@ -65,7 +65,9 @@ main(int argc, char *argv[]) for (i = 0; i < n_streams; i++) { eopen_stream(streams + i, argv[i]); - if (shortest ? (streams[i].frames && streams[i].frames) < frames : streams[i].frames > frames) + if (shortest ? + (streams[i].frames && streams[i].frames < frames) : + (streams[i].frames || streams[i].frames > frames)) frames = streams[i].frames; } |
