diff options
author | Måns Rullgård <mans@mansr.com> | 2009-11-29 18:15:50 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-11-29 18:15:50 +0300 |
commit | 2d2e72b10e9208fc2b4d0f7749c09abb7309f130 (patch) | |
tree | c109dfc3e48d6cd015f2a0bbf862d0129fcde27b /libavcodec/cook.c | |
parent | aeaef4ed63fcf03cf9b39fd8950829e72fdf07fb (diff) |
cook: use constant seed for dithering RNG
Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 1f62af269e..6dec2566a7 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -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 |