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") }