Mercurial > libavcodec.hg
changeset 10597:4dac6529ee0c libavcodec
cook: use constant seed for dithering RNG
author | mru |
---|---|
date | Sun, 29 Nov 2009 15:15:50 +0000 |
parents | a228e8e3e347 |
children | 5e566408864c |
files | cook.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cook.c Sun Nov 29 14:31:40 2009 +0000 +++ b/cook.c Sun Nov 29 15:15:50 2009 +0000 @@ -1101,7 +1101,7 @@ q->bit_rate = avctx->bit_rate; /* Initialize RNG. */ - av_lfg_init(&q->random_state, ff_random_get_seed()); + av_lfg_init(&q->random_state, 0); while(edata_ptr < edata_ptr_end){ /* 8 for mono, 16 for stereo, ? for multichannel