[FFmpeg-cvslog] sws-test: raise limigts a bit.

Michael Niedermayer git at videolan.org
Sun Oct 14 00:14:05 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct 13 21:19:52 2012 +0200| [f70a651b3f774166af545692fb83b5c27d98d169] | committer: Michael Niedermayer

sws-test: raise limigts a bit.

these cases arent used but theres no point in failing on them

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f70a651b3f774166af545692fb83b5c27d98d169
---

 libswscale/swscale-test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c
index dde9473..3484c9b 100644
--- a/libswscale/swscale-test.c
+++ b/libswscale/swscale-test.c
@@ -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);
 
         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");
             return -1;
         }



More information about the ffmpeg-cvslog mailing list