Commit c1fcfdec authored by Diego Biurrun's avatar Diego Biurrun

rangecoder-test: Return in case of an error

parent 84e65c76
......@@ -150,8 +150,10 @@ STOP_TIMER("put_rac")
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);
return 1;
}
STOP_TIMER("get_rac")
}
......
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