diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-17 21:41:48 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-17 21:41:48 +0400 |
commit | ec0350c983c34d008fd10f07366abd80c19d06e0 (patch) | |
tree | 2a88493c98e2b5caba6c1ce90d5362043d31b6ac /libavcodec/ac3dec.h | |
parent | defa0cd6f53c5696a999198009b8e0fc662ff2ae (diff) |
use LFG instead of Mersenne Twister for AC-3 PRNG
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.h')
-rw-r--r-- | libavcodec/ac3dec.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |