Commit f1be5145 authored by Diego Biurrun's avatar Diego Biurrun

rangecoder-test: Drop timer output that clutters stderr

parent c1fcfdec
......@@ -136,11 +136,8 @@ int main(void)
for (i = 0; i < SIZE; i++)
r[i] = av_lfg_get(&prng) % 7;
for (i = 0; i < SIZE; i++) {
START_TIMER
for (i = 0; i < SIZE; i++)
put_rac(&c, state, r[i] & 1);
STOP_TIMER("put_rac")
}
ff_rac_terminate(&c);
......@@ -148,14 +145,11 @@ STOP_TIMER("put_rac")
memset(state, 128, sizeof(state));
for (i = 0; i < SIZE; i++) {
START_TIMER
for (i = 0; i < SIZE; i++)
if ((r[i] & 1) != get_rac(&c, state)) {
av_log(NULL, AV_LOG_ERROR, "rac failure at %d\n", i);
return 1;
}
STOP_TIMER("get_rac")
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment