From ab87da1ce6cf5a02e4721acd3cb1ccb839d4d813 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 16 May 2020 11:59:22 -0400 Subject: [PATCH] bump allowed dimensions --- src/validation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/validation.c b/src/validation.c index 7b02e16..775b8c0 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 > 4096) { - printf("Bad width %d (must be 1..4096)\n", vpar->width); + if (vpar->width < 1 || vpar->width > 32767) { + printf("Bad width %d (must be 1..32767)\n", vpar->width); return false; } - if (vpar->height < 1 || vpar->height > 4096) { - printf("Bad height %d (must be 1..4096)\n", vpar->height); + if (vpar->height < 1 || vpar->height > 32767) { + printf("Bad height %d (must be 1..32767)\n", vpar->height); return false; }