aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 08:47:07 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 08:47:07 +0000
commitd04d5bcd0ed647a0cc7b278e3a4560e7e783798d (patch)
tree1f8d5b1a551739f5774b97fbcf037f812a4d68f2 /libavcodec/ac3enc.c
parentcc61f96f8ae15490593972efecef1f7a3fda7ca0 (diff)
downloadffmpeg-d04d5bcd0ed647a0cc7b278e3a4560e7e783798d.tar.gz
Fix the self tests which are contained in some codecs and are using random().
Originally committed as revision 9755 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 5aa415b6d6..84bb7b0290 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -1269,6 +1269,7 @@ static int AC3_encode_close(AVCodecContext *avctx)
/*************************************************************************/
/* TEST */
+#undef random
#define FN (N/4)
void fft_test(void)