Add '#undef rand' to fix test program build.
authorDiego Biurrun <diego@biurrun.de>
Fri, 6 Mar 2009 00:57:26 +0000 (00:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 6 Mar 2009 00:57:26 +0000 (00:57 +0000)
Originally committed as revision 17850 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/timefilter.c

index 79d417aaf6bd31f795359da434e64289d40cba1d..0949ec7ce91258baf0567ed78ea8d502e6907491 100644 (file)
@@ -74,6 +74,7 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
 }
 
 #ifdef TEST
+#undef rand
 int main(void)
 {
     double n0,n1;