From 9aa2ab4276baeca2f968f6c9b90002d8c8a62a89 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sun, 8 Mar 2009 17:43:12 +0000 Subject: Use FLG pseudo-random number generator in RoQ and ELBG Originally committed as revision 17881 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideoenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/roqvideoenc.c') diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index b9ab912564..8cca312f22 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_random_init(&enc->randctx, 1); + av_lfg_init(&enc->randctx, 1); enc->framesSinceKeyframe = 0; if ((avctx->width & 0xf) || (avctx->height & 0xf)) { -- cgit v1.2.3