summaryrefslogtreecommitdiff
path: root/libavcodec/mpc7.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-18 23:04:33 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-01-18 23:04:33 +0000
commit9c868219e91c65f84ccbf6881848a263975a8d9e (patch)
tree0d85f84a49745563b6cd91ca4ea6d6375c9803fc /libavcodec/mpc7.c
parent199436b952c198e14d53a389438e232ef60f1982 (diff)
downloadffmpeg-9c868219e91c65f84ccbf6881848a263975a8d9e.tar.gz
Replace calls to the deprecated function av_init_random() with
corresponding calls to av_random_init(). Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpc7.c')
-rw-r--r--libavcodec/mpc7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index a22baac915..01b8a70454 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -53,7 +53,7 @@ static av_cold int mpc7_decode_init(AVCodecContext * avctx)
return -1;
}
memset(c->oldDSCF, 0, sizeof(c->oldDSCF));
- av_init_random(0xDEADBEEF, &c->rnd);
+ av_random_init(&c->rnd, 0xDEADBEEF);
dsputil_init(&c->dsp, avctx);
c->dsp.bswap_buf((uint32_t*)buf, (const uint32_t*)avctx->extradata, 4);
ff_mpc_init();