aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-05 19:05:48 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:56:54 +0200
commit4c66af6141a0bb9e3132bc1105da7c9400602e00 (patch)
treed018dc49cc118ba2be7d59eb6c1963e7b897f50a
parent90558e848a29ef1e85ecb1832ad9a26eebe958e0 (diff)
downloadffmpeg-4c66af6141a0bb9e3132bc1105da7c9400602e00.tar.gz
rangecoder-test: Set error message log level to error, instead of debug
-rw-r--r--libavcodec/rangecoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c
index dd09e46f8b..147e58de40 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")
}