M_PI diff for output_example (handles undefined M_PI) by (Bill Eldridge <bill at...
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Aug 2003 23:05:25 +0000 (23:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Aug 2003 23:05:25 +0000 (23:05 +0000)
Originally committed as revision 2175 to svn://svn.ffmpeg.org/ffmpeg/trunk

output_example.c

index 42153f1..beef610 100644 (file)
 #include <stdio.h>
 #include <math.h>
 
+#ifndef M_PI
+#define M_PI 3.1415926535897931
+#endif
+
 #include "avformat.h"
 
 /* 5 seconds stream duration */