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/roqvideo.h | |
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/roqvideo.h')
-rw-r--r-- | libavcodec/roqvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |