diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-05 19:00:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-05 19:00:14 +0200 |
commit | e77ffaa0ac2615400ffae1024e0325920f56d886 (patch) | |
tree | 5d6142c13e59f770aebfeaf1f0d5111d32d3a557 | |
parent | 2ded57216eaede6d6c79f3b9ca08a72ac1891a51 (diff) | |
download | ffmpeg-e77ffaa0ac2615400ffae1024e0325920f56d886.tar.gz |
tests/tiny_ssim: more correct error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | tests/tiny_ssim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tiny_ssim.c b/tests/tiny_ssim.c index 767a0fea06..9f355a3d82 100644 --- a/tests/tiny_ssim.c +++ b/tests/tiny_ssim.c @@ -198,7 +198,7 @@ int main(int argc, char* argv[]) sscanf(argv[3], "%dx%d", &w, &h); if (w<=0 || h<=0 || w*(int64_t)h >= INT_MAX/3 || 2LL*w+12 >= INT_MAX / sizeof(*temp)) { - fprintf(stderr, "Dimensions are too large\n"); + fprintf(stderr, "Dimensions are too large, or invalid\n"); return -2; } |