projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a33997
)
Add #undef random and call the right function to fix test program compilation.
author
Diego Biurrun
<diego@biurrun.de>
Wed, 23 Jan 2008 10:18:08 +0000
(10:18 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 23 Jan 2008 10:18:08 +0000
(10:18 +0000)
Originally committed as revision 11600 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rangecoder.c
patch
|
blob
|
history
diff --git
a/libavcodec/rangecoder.c
b/libavcodec/rangecoder.c
index
829d9ab
..
34cda72
100644
(file)
--- 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);