From: stefano Date: Mon, 18 May 2009 17:59:03 +0000 (+0000) Subject: Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/48a060284dd352a5898f5f16bc831d2e336d089e Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a color. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18868 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c index f407b2bef..7cafa52cb 100644 --- a/libavfilter/parseutils.c +++ b/libavfilter/parseutils.c @@ -247,7 +247,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, void *log_ctx) 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);