bump allowed dimensions

This commit is contained in:
byte[] 2020-05-16 11:59:22 -04:00
parent ecf3c21075
commit ab87da1ce6

View file

@ -100,13 +100,13 @@ int mediatools_validate_video(AVFormatContext *format)
return false; return false;
} }
if (vpar->width < 1 || vpar->width > 4096) { if (vpar->width < 1 || vpar->width > 32767) {
printf("Bad width %d (must be 1..4096)\n", vpar->width); printf("Bad width %d (must be 1..32767)\n", vpar->width);
return false; return false;
} }
if (vpar->height < 1 || vpar->height > 4096) { if (vpar->height < 1 || vpar->height > 32767) {
printf("Bad height %d (must be 1..4096)\n", vpar->height); printf("Bad height %d (must be 1..32767)\n", vpar->height);
return false; return false;
} }