diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-23 10:18:08 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-23 10:18:08 +0000 |
commit | 79bfd0ef766b620c9ad5568d8f8cadfa0516498a (patch) | |
tree | 43f9f76771c8408f334a207b99e3141ce8b96e05 | |
parent | 6a339972af7b68708a31c1edc9050727ab0eeaf7 (diff) | |
download | ffmpeg-79bfd0ef766b620c9ad5568d8f8cadfa0516498a.tar.gz |
Add #undef random and call the right function to fix test program compilation.
Originally committed as revision 11600 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/rangecoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index 829d9ab04d..34cda723f3 100644 --- a/libavcodec/rangecoder.c +++ b/libavcodec/rangecoder.c @@ -111,6 +111,7 @@ int ff_rac_terminate(RangeCoder *c){ #ifdef TEST #define SIZE 10240 +#undef random int main(void){ RangeCoder c; uint8_t b[9*SIZE]; @@ -133,7 +134,7 @@ START_TIMER STOP_TIMER("put_rac") } - ff_put_rac_terminate(&c); + ff_rac_terminate(&c); ff_init_range_decoder(&c, b, SIZE); |