changeset 5293:de5b524db473 libavcodec

map warning levels between libx264 and libavutil
author benoit
date Thu, 12 Jul 2007 08:22:28 +0000
parents d2a7fc14345c
children e21873a1c00b
files libx264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libx264.c	Thu Jul 12 00:23:53 2007 +0000
+++ b/libx264.c	Thu Jul 12 08:22:28 2007 +0000
@@ -38,7 +38,7 @@
 {
     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
     };