Mercurial > libavcodec.hg
diff mpc7.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 | 9aac5b3cecbd |
children | e9d9d946f213 |
line wrap: on
line diff
--- a/mpc7.c Sun Jan 18 22:57:40 2009 +0000 +++ b/mpc7.c Sun Jan 18 23:04:33 2009 +0000 @@ -53,7 +53,7 @@ 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();