mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
cabac test: Change input to test, so a wider range of states is tested.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1eb805ed70
)
This commit is contained in:
parent
f38b2a6be8
commit
b2af83a9ed
@ -194,7 +194,8 @@ int main(void){
|
||||
ff_init_cabac_states(&c);
|
||||
|
||||
for(i=0; i<SIZE; i++){
|
||||
r[i] = av_lfg_get(&prng) % 7;
|
||||
if(2*i<SIZE) r[i] = av_lfg_get(&prng) % 7;
|
||||
else r[i] = (i>>8)&1;
|
||||
}
|
||||
|
||||
for(i=0; i<SIZE; i++){
|
||||
|
Loading…
Reference in New Issue
Block a user