rangecoder-test: Return in case of an error
This commit is contained in:
parent
84e65c763d
commit
c1fcfdec75
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user