Commit e77ffaa0 authored by Michael Niedermayer's avatar Michael Niedermayer

tests/tiny_ssim: more correct error message

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2ded5721
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment