diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-03-08 17:43:12 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-03-08 17:43:12 +0000 |
commit | 9aa2ab4276baeca2f968f6c9b90002d8c8a62a89 (patch) | |
tree | 699948803ae07463c4958ef8b3e44f781cd2ef4d /libavcodec/roqvideoenc.c | |
parent | 74e2a0784e7702d2a3e0d88c7ea4f900ea223edd (diff) | |
download | ffmpeg-9aa2ab4276baeca2f968f6c9b90002d8c8a62a89.tar.gz |
Use FLG pseudo-random number generator in RoQ and ELBG
Originally committed as revision 17881 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 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)) { |