mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
cook: use constant seed for dithering RNG
Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
aeaef4ed63
commit
2d2e72b10e
@ -1101,7 +1101,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user