Commit 27735bd4 authored by diego's avatar diego

Add #undef random and call the right function to fix test program compilation.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11600 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c61e90ea
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment