summaryrefslogtreecommitdiffstats
path: root/gst/smpte/paint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/smpte/paint.c')
-rw-r--r--gst/smpte/paint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/smpte/paint.c b/gst/smpte/paint.c
index 369e36f0..9b60de37 100644
--- a/gst/smpte/paint.c
+++ b/gst/smpte/paint.c
@@ -25,6 +25,10 @@
#include <stdlib.h>
#include "paint.h"
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
void
gst_smpte_paint_vbox (guint32 * dest, gint stride,
gint x0, gint y0, gint c0, gint x1, gint y1, gint c1)