diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-16 20:16:13 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-16 20:16:13 +0200 |
commit | 757f80b23e034465f34dff436c5248963365a285 (patch) | |
tree | c73ae9ca22fefe8aff756b0440f9b130ac59f02c /gst/effectv/gstshagadelic.c | |
parent | 414d0548e2fa024834ec63001f57fb65f6cc693f (diff) |
effectv: Define the fast PRNG function at a central place
Diffstat (limited to 'gst/effectv/gstshagadelic.c')
-rw-r--r-- | gst/effectv/gstshagadelic.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gst/effectv/gstshagadelic.c b/gst/effectv/gstshagadelic.c index c2afec1a..1eea4df6 100644 --- a/gst/effectv/gstshagadelic.c +++ b/gst/effectv/gstshagadelic.c @@ -30,6 +30,7 @@ #include <string.h> #include "gstshagadelic.h" +#include "gsteffectv.h" #include <gst/video/video.h> @@ -83,14 +84,6 @@ gst_shagadelictv_set_caps (GstBaseTransform * btrans, GstCaps * incaps, return ret; } -static inline guint -fastrand (void) -{ - static guint fastrand_val; - - return (fastrand_val = fastrand_val * 1103515245 + 12345); -} - static void gst_shagadelic_initialize (GstShagadelicTV * filter) { |