diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-03-08 16:37:57 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-03-08 16:37:57 +0000 |
commit | 74e2a0784e7702d2a3e0d88c7ea4f900ea223edd (patch) | |
tree | 51091fce8d6c2a116dafb903677e05f5a1a5f865 /libavcodec/mpc.h | |
parent | d2f532c8a0345d29e1abaded03168fc3a13bd25b (diff) | |
download | ffmpeg-74e2a0784e7702d2a3e0d88c7ea4f900ea223edd.tar.gz |
Make Musepack decoders use LFG pseudorandom generator
Originally committed as revision 17880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpc.h')
-rw-r--r-- | libavcodec/mpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpc.h b/libavcodec/mpc.h index df7915ee48..2720afefaf 100644 --- a/libavcodec/mpc.h +++ b/libavcodec/mpc.h @@ -28,7 +28,7 @@ #ifndef AVCODEC_MPC_H #define AVCODEC_MPC_H -#include "libavutil/random.h" +#include "libavutil/lfg.h" #include "avcodec.h" #include "bitstream.h" #include "dsputil.h" @@ -62,7 +62,7 @@ typedef struct { int cur_frame, frames; uint8_t *bits; int buf_size; - AVRandomState rnd; + AVLFG rnd; int frames_to_skip; /* for synthesis */ DECLARE_ALIGNED_16(MPA_INT, synth_buf[MPA_MAX_CHANNELS][512*2]); |