diff --git a/src/validation.c b/src/validation.c index 76fc257..ce6f382 100644 --- a/src/validation.c +++ b/src/validation.c @@ -100,13 +100,13 @@ int mediatools_validate_video(AVFormatContext *format) return false; } - if (vpar->width < 1 || vpar->width > 16255) { - printf("Invalid width %d (must be 1..16255)\n", vpar->width); + if (vpar->width < 1 || vpar->width > 32767) { + printf("Invalid width %d\n", vpar->width); return false; } - if (vpar->height < 1 || vpar->height > 16255) { - printf("Invalid height %d (must be 1..16255)\n", vpar->height); + if (vpar->height < 1 || vpar->height > 32767) { + printf("Invalid height %d\n", vpar->height); return false; }