Commit f0cb505a authored by Diego Biurrun's avatar Diego Biurrun

Allow compilation of test programs when TEST is defined.

Originally committed as revision 11473 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a005768d
......@@ -156,7 +156,7 @@ int64_t av_i2int(AVInteger a){
return out;
}
#if 0
#ifdef TEST
#undef NDEBUG
#include <assert.h>
......
......@@ -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){
......
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