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:
Michael Niedermayer 2012-10-13 21:19:52 +02:00
parent 3689ec3d28
commit f70a651b3f

View File

@ -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;
} }