Mercurial > libavcodec.hg
changeset 6169:43dd78019c14 libavcodec
Add #undef random and call the right function to fix test program compilation.
author | diego |
---|---|
date | Wed, 23 Jan 2008 10:18:08 +0000 |
parents | 27f4e3175dac |
children | 8cbfc9d75833 |
files | rangecoder.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rangecoder.c Tue Jan 22 23:47:59 2008 +0000 +++ b/rangecoder.c Wed Jan 23 10:18:08 2008 +0000 @@ -111,6 +111,7 @@ #ifdef TEST #define SIZE 10240 +#undef random int main(void){ RangeCoder c; uint8_t b[9*SIZE]; @@ -133,7 +134,7 @@ STOP_TIMER("put_rac") } - ff_put_rac_terminate(&c); + ff_rac_terminate(&c); ff_init_range_decoder(&c, b, SIZE);