qtrle: use AV_LOG_ERROR in an error message.
authorAnton Khirnov <anton@khirnov.net>
Thu, 14 Feb 2013 17:00:39 +0000 (18:00 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 23 Feb 2013 12:06:12 +0000 (13:06 +0100)
libavcodec/qtrle.c

index eca96e2..cc31592 100644 (file)
@@ -48,7 +48,7 @@ typedef struct QtrleContext {
 
 #define CHECK_PIXEL_PTR(n)                                                            \
     if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) {                       \
-        av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
+        av_log (s->avctx, AV_LOG_ERROR, "Problem: pixel_ptr = %d, pixel_limit = %d\n",\
                 pixel_ptr + n, pixel_limit);                                          \
         return;                                                                       \
     }                                                                                 \