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 #include +#ifndef M_PI +#define M_PI 3.1415926535897931 +#endif + #include "avformat.h" /* 5 seconds stream duration */