summaryrefslogtreecommitdiff
path: root/output_example.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-08-28 23:05:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-08-28 23:05:25 +0000
commit264cb2b82fd02df945695a76376711b911250093 (patch)
tree168f9e6540e5828dc03e72779dc56100c20c1c69 /output_example.c
parent118e91f3d841435c50df4e110eb108d720cdcecf (diff)
downloadffmpeg-264cb2b82fd02df945695a76376711b911250093.tar.gz
M_PI diff for output_example (handles undefined M_PI) by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'output_example.c')
-rw-r--r--output_example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/output_example.c b/output_example.c
index 42153f1103..beef610904 100644
--- a/output_example.c
+++ b/output_example.c
@@ -26,6 +26,10 @@
#include <stdio.h>
#include <math.h>
+#ifndef M_PI
+#define M_PI 3.1415926535897931
+#endif
+
#include "avformat.h"
/* 5 seconds stream duration */