diff --git a/output_example.c b/output_example.c
index 7f75b76f23ffab591f621147824d564c9415ea98..ee123fdcd4533a9afa12aef5eb6ee43b6bee5bf4 100644
--- a/output_example.c
+++ b/output_example.c
@@ -28,7 +28,7 @@
 #include <math.h>
 
 #ifndef M_PI
-#define M_PI 3.1415926535897931
+#define M_PI 3.14159265358979323846
 #endif
 
 #include "avformat.h"