From ec0350c983c34d008fd10f07366abd80c19d06e0 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 17 Aug 2008 17:41:48 +0000 Subject: use LFG instead of Mersenne Twister for AC-3 PRNG Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3dec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/ac3dec.h') diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h index de43609f58..4e0eb1d463 100644 --- a/libavcodec/ac3dec.h +++ b/libavcodec/ac3dec.h @@ -27,7 +27,7 @@ #ifndef FFMPEG_AC3DEC_H #define FFMPEG_AC3DEC_H -#include "libavutil/random.h" +#include "libavutil/lfg.h" #include "ac3tab.h" #include "ac3.h" #include "bitstream.h" @@ -143,7 +143,7 @@ typedef struct { ///@defgroup dithering zero-mantissa dithering int dither_all; ///< true if all channels are dithered int dither_flag[AC3_MAX_CHANNELS]; ///< dither flags (dithflg) - AVRandomState dith_state; ///< for dither generation + AVLFG dith_state; ///< for dither generation ///@} ///@defgroup imdct IMDCT -- cgit v1.2.3