diff nellymoserdec.c @ 8628:e49a2e1f0020 libavcodec

Replace calls to the deprecated function av_init_random() with corresponding calls to av_random_init().
author stefano
date Sun, 18 Jan 2009 23:04:33 +0000
parents ff10b38304d2
children e9d9d946f213
line wrap: on
line diff
--- a/nellymoserdec.c	Sun Jan 18 22:57:40 2009 +0000
+++ b/nellymoserdec.c	Sun Jan 18 23:04:33 2009 +0000
@@ -128,7 +128,7 @@
     NellyMoserDecodeContext *s = avctx->priv_data;
 
     s->avctx = avctx;
-    av_init_random(0, &s->random_state);
+    av_random_init(&s->random_state, 0);
     ff_mdct_init(&s->imdct_ctx, 8, 1);
 
     dsputil_init(&s->dsp, avctx);