diff ac3dec.h @ 7601:69d5f318275f libavcodec

use LFG instead of Mersenne Twister for AC-3 PRNG
author jbr
date Sun, 17 Aug 2008 17:41:48 +0000
parents 7cf793954871
children 20c91136fe71
line wrap: on
line diff
--- a/ac3dec.h	Sun Aug 17 17:08:25 2008 +0000
+++ b/ac3dec.h	Sun Aug 17 17:41:48 2008 +0000
@@ -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 @@
 ///@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