aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-18 17:59:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-05-18 17:59:03 +0000
commitcec8e5f76aadc7df900ad0c5f914f560e40c9162 (patch)
treef57bd082ab4a7151e33415c5255fc4cbea525e7c
parent76499b9ff1bea22c349e28bb37b794f426e0618b (diff)
downloadffmpeg-cec8e5f76aadc7df900ad0c5f914f560e40c9162.tar.gz
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
color. Originally committed as revision 18868 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/parseutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c
index f407b2bef9..7cafa52cb0 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);