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/roqvideo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/roqvideo.h') diff --git a/libavcodec/roqvideo.h b/libavcodec/roqvideo.h index 2b69838757..3fe11c670b 100644 --- a/libavcodec/roqvideo.h +++ b/libavcodec/roqvideo.h @@ -22,7 +22,7 @@ #ifndef AVCODEC_ROQVIDEO_H #define AVCODEC_ROQVIDEO_H -#include "libavutil/random.h" +#include "libavutil/lfg.h" #include "avcodec.h" #include "dsputil.h" @@ -58,7 +58,7 @@ typedef struct RoqContext { int width, height; /* Encoder only data */ - AVRandomState randctx; + AVLFG randctx; uint64_t lambda; motion_vect *this_motion4; -- cgit v1.2.3