[SCM] libav/experimental: Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a color.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:46:04 UTC 2013
The following commit has been merged in the experimental branch:
commit cec8e5f76aadc7df900ad0c5f914f560e40c9162
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Mon May 18 17:59:03 2009 +0000
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
diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c
index f407b2b..7cafa52 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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list