Commit f6f4c8aa authored by diego's avatar diego

Allow compilation of test programs when TEST is defined.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11473 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ecdb1886
...@@ -156,7 +156,7 @@ int64_t av_i2int(AVInteger a){ ...@@ -156,7 +156,7 @@ int64_t av_i2int(AVInteger a){
return out; return out;
} }
#if 0 #ifdef TEST
#undef NDEBUG #undef NDEBUG
#include <assert.h> #include <assert.h>
......
...@@ -110,7 +110,8 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq){ ...@@ -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; int64_t c= cq.num * (int64_t)bq.den;
return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF); return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF);
} }
#if 0
#ifdef TEST
#include "integer.h" #include "integer.h"
#undef printf #undef printf
main(void){ main(void){
......
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