commit edc0a1ca9c1c85a77ac04eb78c8fa208e0c5b24f
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Jul 14 16:40:06 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri Jul 14 16:40:06 2017 +0200
blind-stack: fix frame count prediction
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
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
_AT_@ -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;
}
Received on Fri Jul 14 2017 - 21:17:36 CEST
This archive was generated by hypermail 2.3.0
: Fri Jul 14 2017 - 21:25:00 CEST