From 74e2a0784e7702d2a3e0d88c7ea4f900ea223edd Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 8 Mar 2009 16:37:57 +0000 Subject: Make Musepack decoders use LFG pseudorandom generator Originally committed as revision 17880 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/mpc.h') 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]); -- cgit v1.2.3