diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-08 22:54:49 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-08 22:54:49 +0000 |
commit | f0cb505aeba32c821932f38696c10926cfc0a340 (patch) | |
tree | 477b5c191ca556eba476a2705328c0c299d2963b /libavutil/mathematics.c | |
parent | a005768d25647bf6e9d66eeb15e28c532b4ff40e (diff) | |
download | ffmpeg-f0cb505aeba32c821932f38696c10926cfc0a340.tar.gz |
Allow compilation of test programs when TEST is defined.
Originally committed as revision 11473 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/mathematics.c')
-rw-r--r-- | libavutil/mathematics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c index 2ea35fc4f3..71d8ba7b1a 100644 --- a/libavutil/mathematics.c +++ b/libavutil/mathematics.c @@ -110,7 +110,8 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){ int64_t c= cq.num * (int64_t)bq.den; return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF); } -#if 0 + +#ifdef TEST #include "integer.h" #undef printf main(void){ |