Commit 0be43773 authored by Michael Niedermayer's avatar Michael Niedermayer

fate/cabac: replace uninitialized bytes by random bytes

Fixes valgrind warning
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d8637853
......@@ -318,7 +318,9 @@ int main(void){
put_cabac(&c, state, r[i]&1);
}
put_cabac_terminate(&c, 1);
i= put_cabac_terminate(&c, 1);
b[i++] = av_lfg_get(&prng);
b[i ] = av_lfg_get(&prng);
ff_init_cabac_decoder(&c, b, SIZE);
......
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