Commit 1eb805ed authored by Michael Niedermayer's avatar Michael Niedermayer

cabac test: Change input to test, so a wider range of states is tested.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 830d7d5c
......@@ -317,7 +317,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++){
......
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