diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-16 19:20:02 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-16 19:20:02 +0200 |
commit | 1f545da9742dc6e9667715ce41eada31524a3b71 (patch) | |
tree | 75561af23d122a15af33927ddd00fbaf4d52d83f | |
parent | f06b105058e73162275b50bdba89c6791e218d03 (diff) |
warptv: Don't use floats as loop counters
-rw-r--r-- | gst/effectv/gstwarp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index 72c4eb03d..e5eb7580a 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -118,7 +118,7 @@ static void initSinTable (void) { gint32 *tptr, *tsinptr; - double i; + gint i; tsinptr = tptr = sintable; @@ -132,7 +132,7 @@ initSinTable (void) static void initOffsTable (GstWarpTV * filter) { - int y; + gint y; for (y = 0; y < filter->height; y++) { filter->offstable[y] = y * filter->width; @@ -143,11 +143,11 @@ static void initDistTable (GstWarpTV * filter) { gint32 halfw, halfh, *distptr; - + gint x, y; #ifdef PS2 - float x, y, m; + float m; #else - double x, y, m; + float m; #endif halfw = filter->width >> 1; |