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 79d417a..0949ec7 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;