aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blind-stack.c4
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;
}