summaryrefslogtreecommitdiffstats
path: root/gst/effectv
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv')
-rw-r--r--gst/effectv/gstdice.c6
-rw-r--r--gst/effectv/gstwarp.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c
index 75c33772..84d5052e 100644
--- a/gst/effectv/gstdice.c
+++ b/gst/effectv/gstdice.c
@@ -238,9 +238,9 @@ gst_dicetv_draw (GstVideofilter * videofilter, void *d, void *s)
gint map_x, map_y, map_i;
gint base;
gint dx, dy, di;
- gint video_width = filter->width;
- gint g_cube_bits = filter->g_cube_bits;
- gint g_cube_size = filter->g_cube_size;
+ gint video_width;
+ gint g_cube_bits;
+ gint g_cube_size;
filter = GST_DICETV (videofilter);
src = (guint32 *) s;
diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c
index 00bd7d00..b674a67b 100644
--- a/gst/effectv/gstwarp.c
+++ b/gst/effectv/gstwarp.c
@@ -265,7 +265,7 @@ gst_warptv_setup (GstVideofilter * videofilter)
g_free (warptv->disttable);
g_free (warptv->offstable);
- warptv->offstable = (guint32 *) g_malloc (height * sizeof (guint32));
+ warptv->offstable = g_malloc (height * sizeof (guint32));
warptv->disttable = g_malloc (width * height * sizeof (guint32));
initSinTable (warptv);