sws-test: raise limigts a bit.
these cases arent used but theres no point in failing on them Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3689ec3d28
commit
f70a651b3f
@ -317,7 +317,7 @@ static int fileTest(uint8_t *ref[4], int refStride[4], int w, int h, FILE *fp,
|
|||||||
dstFormat = av_get_pix_fmt(dstStr);
|
dstFormat = av_get_pix_fmt(dstStr);
|
||||||
|
|
||||||
if (srcFormat == AV_PIX_FMT_NONE || dstFormat == AV_PIX_FMT_NONE ||
|
if (srcFormat == AV_PIX_FMT_NONE || dstFormat == AV_PIX_FMT_NONE ||
|
||||||
srcW > 1024U || srcH > 1024U || dstW > 1024U || dstH > 1024U) {
|
srcW > 8192U || srcH > 8192U || dstW > 8192U || dstH > 8192U) {
|
||||||
fprintf(stderr, "malformed input file\n");
|
fprintf(stderr, "malformed input file\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user