You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
rangecoder-test: Return in case of an error
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user