diff options
Diffstat (limited to 'gst/effectv/gsteffectv.h')
-rw-r--r-- | gst/effectv/gsteffectv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/effectv/gsteffectv.h b/gst/effectv/gsteffectv.h index 30b09e78..a9539919 100644 --- a/gst/effectv/gsteffectv.h +++ b/gst/effectv/gsteffectv.h @@ -23,3 +23,11 @@ #include <gst/gst.h> +static inline guint +fastrand (void) +{ + static guint fastrand_val; + + return (fastrand_val = fastrand_val * 1103515245 + 12345); +} + |