diff options
-rw-r--r-- | libavcodec/ac3enc.c | 1 | ||||
-rw-r--r-- | libavcodec/cabac.c | 1 | ||||
-rw-r--r-- | libavcodec/h264.c | 1 | ||||
-rw-r--r-- | libavcodec/snow.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 5aa415b..84bb7b0 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) diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 2d51f6b..7eb60b0 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" diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5150581..c51496a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -8101,6 +8101,7 @@ static inline void fill_mb_avail(H264Context *h){ #endif #if 0 //selftest +#undef random #define COUNT 8000 #define SIZE (COUNT*40) int main(){ diff --git a/libavcodec/snow.c b/libavcodec/snow.c index b62f49a..68d2566 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -4552,6 +4552,7 @@ AVCodec snow_encoder = { #undef malloc #undef free #undef printf +#undef random int main(){ int width=256; |