aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cabac.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/cabac.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/cabac.c')
-rw-r--r--libavcodec/cabac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 2d51f6bcf0..7eb60b0ad2 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -179,6 +179,7 @@ void ff_init_cabac_states(CABACContext *c){
}
#if 0 //selftest
+#undef random
#define SIZE 10240
#include "avcodec.h"