aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-20 23:53:51 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-20 23:53:51 +0000
commit07e4e3ea8bcccce9bba6b07d9cb8f9e896a58548 (patch)
tree9e5e081df651a9937daa09ac848e2b5a99827bd2 /libavcodec/rangecoder.c
parent1ace441909786f7ffbfc00b511c48e131f7ba8d0 (diff)
downloadffmpeg-07e4e3ea8bcccce9bba6b07d9cb8f9e896a58548.tar.gz
Consistently use TEST as the preprocessor condition to enable test code.
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rangecoder.c')
-rw-r--r--libavcodec/rangecoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c
index baf4c816cc..829d9ab04d 100644
--- a/libavcodec/rangecoder.c
+++ b/libavcodec/rangecoder.c
@@ -109,7 +109,7 @@ int ff_rac_terminate(RangeCoder *c){
return c->bytestream - c->bytestream_start;
}
-#if 0 //selftest
+#ifdef TEST
#define SIZE 10240
int main(void){
RangeCoder c;
@@ -148,4 +148,4 @@ STOP_TIMER("get_rac")
return 0;
}
-#endif
+#endif /* TEST */