mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
nellymoser: use constant seed for dithering RNG
Originally committed as revision 20658 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2d2e72b10e
commit
b8cef7be5c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user