From 4c66af6141a0bb9e3132bc1105da7c9400602e00 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 5 Oct 2012 19:05:48 +0200 Subject: [PATCH] rangecoder-test: Set error message log level to error, instead of debug --- libavcodec/rangecoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") }