diff options
| -rw-r--r-- | src/blind-split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-split.c b/src/blind-split.c index 038b3b6..90dee19 100644 --- a/src/blind-split.c +++ b/src/blind-split.c @@ -79,7 +79,7 @@ main(int argc, char *argv[]) stream.ptr = 0; } else if (ptr % frame_size) { eprintf("%s: incomplete frame\n", stream.file); - } else if (!unknown_length) { + } else if (!unknown_length || !to_end[i]) { eprintf("%s: file is shorter than expected\n", stream.file); } else { break; |
