[FFmpeg-cvslog] r18868 - trunk/libavfilter/parseutils.c

stefano subversion
Mon May 18 19:59:03 CEST 2009


Author: stefano
Date: Mon May 18 19:59:03 2009
New Revision: 18868

Log:
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
color.

Modified:
   trunk/libavfilter/parseutils.c

Modified: trunk/libavfilter/parseutils.c
==============================================================================
--- trunk/libavfilter/parseutils.c	Mon May 18 10:21:50 2009	(r18867)
+++ trunk/libavfilter/parseutils.c	Mon May 18 19:59:03 2009	(r18868)
@@ -247,7 +247,7 @@ int av_parse_color(uint8_t *rgba_color, 
                                           sizeof(ColorEntry),
                                           color_table_compare);
         if (!entry) {
-            av_log(log_ctx, AV_LOG_DEBUG, "Cannot find color '%s'\n", color_string);
+            av_log(log_ctx, AV_LOG_ERROR, "Cannot find color '%s'\n", color_string);
             return -1;
         }
         memcpy(rgba_color, entry->rgba_color, 4);



More information about the ffmpeg-cvslog mailing list