mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
fate/cabac: replace uninitialized bytes by random bytes
Fixes valgrind warning Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
d863785379
commit
0be4377333
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user