aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2007-07-12 08:22:28 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-07-12 08:22:28 +0000
commit3709f0d706235164fe69a236fa932c65e548fff5 (patch)
treeb10d50c43b19cf0d6a65a6af60d78f67f98ec181 /libavcodec/libx264.c
parent3e582fbbc527703c6022cc9d66f172840f8a40ee (diff)
downloadffmpeg-3709f0d706235164fe69a236fa932c65e548fff5.tar.gz
map warning levels between libx264 and libavutil
Originally committed as revision 9607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index a77bf5b504..eb897eba20 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
};