From: Benoit Fouet Date: Thu, 12 Jul 2007 08:22:28 +0000 (+0000) Subject: map warning levels between libx264 and libavutil X-Git-Tag: v0.5~8389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3709f0d706235164fe69a236fa932c65e548fff5;p=platform%2Fupstream%2Flibav.git map warning levels between libx264 and libavutil Originally committed as revision 9607 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index a77bf5b..eb897eb 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -38,7 +38,7 @@ X264_log(void *p, int level, const char *fmt, va_list args) { static const int level_map[] = { [X264_LOG_ERROR] = AV_LOG_ERROR, - [X264_LOG_WARNING] = AV_LOG_ERROR, + [X264_LOG_WARNING] = AV_LOG_WARNING, [X264_LOG_INFO] = AV_LOG_INFO, [X264_LOG_DEBUG] = AV_LOG_DEBUG };