diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-01-14 08:41:44 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-01-14 08:41:44 +0100 |
| commit | 4a0bec23f06a4e119531fb8a62c07d346116c709 (patch) | |
| tree | 4e15bd8037011383f0f6dccaa4c7e60ad5a4c582 /src/blind-cut.c | |
| parent | Update todo (diff) | |
| download | blind-4a0bec23f06a4e119531fb8a62c07d346116c709.tar.gz blind-4a0bec23f06a4e119531fb8a62c07d346116c709.tar.bz2 blind-4a0bec23f06a4e119531fb8a62c07d346116c709.tar.xz | |
Fix blind-split and add example
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-cut.c')
| -rw-r--r-- | src/blind-cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-cut.c b/src/blind-cut.c index e2a7fa6..6112120 100644 --- a/src/blind-cut.c +++ b/src/blind-cut.c @@ -43,7 +43,7 @@ main(int argc, char *argv[]) efflush(stdout, "<stdout>"); echeck_frame_size(stream.width, stream.height, stream.pixel_size, 0, stream.file); frame_size = stream.width * stream.height * stream.pixel_size; - if (stream.frames > SSIZE_MAX / frame_size) + if (stream.frames > (size_t)SSIZE_MAX / frame_size) eprintf("%s: video is too large\n", stream.file); if (start >= end) |
