mirror of https://git.ffmpeg.org/ffmpeg.git
rangecoder-test: Set error message log level to error, instead of debug
This commit is contained in:
parent
90558e848a
commit
4c66af6141
|
@ -115,6 +115,7 @@ int ff_rac_terminate(RangeCoder *c)
|
||||||
#define SIZE 10240
|
#define SIZE 10240
|
||||||
|
|
||||||
#include "libavutil/lfg.h"
|
#include "libavutil/lfg.h"
|
||||||
|
#include "libavutil/log.h"
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
@ -150,7 +151,7 @@ STOP_TIMER("put_rac")
|
||||||
for (i = 0; i < SIZE; i++) {
|
for (i = 0; i < SIZE; i++) {
|
||||||
START_TIMER
|
START_TIMER
|
||||||
if ((r[i] & 1) != get_rac(&c, state))
|
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")
|
STOP_TIMER("get_rac")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue