Clarify av_check_image_size() log message.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 6 Aug 2010 09:36:50 +0000 (09:36 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 6 Aug 2010 09:36:50 +0000 (09:36 +0000)
Originally committed as revision 24710 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcore/imgutils.c

index 350caed..f3d75ee 100644 (file)
@@ -111,6 +111,6 @@ int av_check_image_size(unsigned int w, unsigned int h, int log_offset, void *lo
     if((int)w>0 && (int)h>0 && (w+128)*(uint64_t)(h+128) < INT_MAX/8)
         return 0;
 
-    av_log(&imgutils, AV_LOG_ERROR, "picture size invalid (%ux%u)\n", w, h);
+    av_log(&imgutils, AV_LOG_ERROR, "Picture size %ux%u is invalid\n", w, h);
     return AVERROR(EINVAL);
 }