rangecoder-test: Drop timer output that clutters stderr

pull/6/head
Diego Biurrun 12 years ago
parent c1fcfdec75
commit f1be514540
  1. 10
      libavcodec/rangecoder.c

@ -136,11 +136,8 @@ int main(void)
for (i = 0; i < SIZE; i++) for (i = 0; i < SIZE; i++)
r[i] = av_lfg_get(&prng) % 7; r[i] = av_lfg_get(&prng) % 7;
for (i = 0; i < SIZE; i++) { for (i = 0; i < SIZE; i++)
START_TIMER
put_rac(&c, state, r[i] & 1); put_rac(&c, state, r[i] & 1);
STOP_TIMER("put_rac")
}
ff_rac_terminate(&c); ff_rac_terminate(&c);
@ -148,14 +145,11 @@ STOP_TIMER("put_rac")
memset(state, 128, sizeof(state)); memset(state, 128, sizeof(state));
for (i = 0; i < SIZE; i++) { for (i = 0; i < SIZE; i++)
START_TIMER
if ((r[i] & 1) != get_rac(&c, state)) { if ((r[i] & 1) != get_rac(&c, state)) {
av_log(NULL, AV_LOG_ERROR, "rac failure at %d\n", i); av_log(NULL, AV_LOG_ERROR, "rac failure at %d\n", i);
return 1; return 1;
} }
STOP_TIMER("get_rac")
}
return 0; return 0;
} }

Loading…
Cancel
Save