summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-03-08 17:43:12 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-03-08 17:43:12 +0000
commit9aa2ab4276baeca2f968f6c9b90002d8c8a62a89 (patch)
tree699948803ae07463c4958ef8b3e44f781cd2ef4d /libavcodec/roqvideo.h
parent74e2a0784e7702d2a3e0d88c7ea4f900ea223edd (diff)
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.h4
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;