diff options
author | Stefano Sabatini | 2009-01-18 23:04:33 +0000 |
---|---|---|
committer | Stefano Sabatini | 2009-01-18 23:04:33 +0000 |
commit | 9c868219e91c65f84ccbf6881848a263975a8d9e (patch) | |
tree | 0d85f84a49745563b6cd91ca4ea6d6375c9803fc /libavcodec/roqvideoenc.c | |
parent | 199436b952c198e14d53a389438e232ef60f1982 (diff) |
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/roqvideoenc.c')
-rw-r--r-- | libavcodec/roqvideoenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index a5622cd6fe..6e04f5c570 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -929,7 +929,7 @@ static int roq_encode_init(AVCodecContext *avctx) { RoqContext *enc = avctx->priv_data; - av_init_random(1, &enc->randctx); + av_random_init(&enc->randctx, 1); enc->framesSinceKeyframe = 0; if ((avctx->width & 0xf) || (avctx->height & 0xf)) { |