diff --git a/output_example.c b/output_example.c index 42153f1103ab780027dcc0c852f8facb000fb2e4..beef6109044f6df36ea5ee71918bb354e723533f 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 */