From b8cef7be5c6bb2150d82ac64f00adfd2093cc913 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 29 Nov 2009 15:15:53 +0000 Subject: nellymoser: use constant seed for dithering RNG Originally committed as revision 20658 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/nellymoserdec.c') diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 1de47086bd..8ed4298fc2 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -129,7 +129,7 @@ static av_cold int decode_init(AVCodecContext * avctx) { NellyMoserDecodeContext *s = avctx->priv_data; s->avctx = avctx; - av_lfg_init(&s->random_state, ff_random_get_seed()); + av_lfg_init(&s->random_state, 0); ff_mdct_init(&s->imdct_ctx, 8, 1, 1.0); dsputil_init(&s->dsp, avctx); -- cgit v1.2.3