[FFmpeg-devel] [PATCH 2/2] nellymoser: use constant seed for dithering RNG
Mans Rullgard
mans
Sun Nov 29 13:29:15 CET 2009
---
libavcodec/nellymoserdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index 1de4708..8ed4298 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);
--
1.6.5.2
More information about the ffmpeg-devel
mailing list