[libav-commits] rangecoder-test: Set error message log level to error, instead of debug

Diego Biurrun git at libav.org
Fri Oct 12 21:00:36 CEST 2012


Module: libav
Branch: master
Commit: 4c66af6141a0bb9e3132bc1105da7c9400602e00

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Fri Oct  5 19:05:48 2012 +0200

rangecoder-test: Set error message log level to error, instead of debug

---

 libavcodec/rangecoder.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c
index dd09e46..147e58d 100644
--- a/libavcodec/rangecoder.c
+++ b/libavcodec/rangecoder.c
@@ -115,6 +115,7 @@ int ff_rac_terminate(RangeCoder *c)
 #define SIZE 10240
 
 #include "libavutil/lfg.h"
+#include "libavutil/log.h"
 
 int main(void)
 {
@@ -150,7 +151,7 @@ STOP_TIMER("put_rac")
     for (i = 0; i < SIZE; i++) {
 START_TIMER
         if ((r[i] & 1) != get_rac(&c, state))
-            av_log(NULL, AV_LOG_DEBUG, "rac failure at %d\n", i);
+            av_log(NULL, AV_LOG_ERROR, "rac failure at %d\n", i);
 STOP_TIMER("get_rac")
     }
 



More information about the libav-commits mailing list