aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-11-29 15:15:50 +0000
committerMåns Rullgård <mans@mansr.com>2009-11-29 15:15:50 +0000
commit2d2e72b10e9208fc2b4d0f7749c09abb7309f130 (patch)
treec109dfc3e48d6cd015f2a0bbf862d0129fcde27b /libavcodec/cook.c
parentaeaef4ed63fcf03cf9b39fd8950829e72fdf07fb (diff)
downloadffmpeg-2d2e72b10e9208fc2b4d0f7749c09abb7309f130.tar.gz
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.c2
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