summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-11-29 15:15:53 +0000
committerMåns Rullgård <mans@mansr.com>2009-11-29 15:15:53 +0000
commitb8cef7be5c6bb2150d82ac64f00adfd2093cc913 (patch)
treea141db340e94f32aa57a9f29143cccb05798484c /libavcodec/nellymoserdec.c
parent2d2e72b10e9208fc2b4d0f7749c09abb7309f130 (diff)
downloadffmpeg-b8cef7be5c6bb2150d82ac64f00adfd2093cc913.tar.gz
nellymoser: use constant seed for dithering RNG
Originally committed as revision 20658 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 1 insertions, 1 deletions
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);