From 2d2e72b10e9208fc2b4d0f7749c09abb7309f130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 29 Nov 2009 15:15:50 +0000 Subject: [PATCH] cook: use constant seed for dithering RNG Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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