effectv: Fix unused but set variable compiler warnings

This commit is contained in:
Sebastian Dröge 2011-08-03 08:51:19 +02:00
parent 5771056ed5
commit 4aa5485cfc
2 changed files with 2 additions and 8 deletions

View file

@ -113,7 +113,7 @@ gst_quarktv_transform (GstBaseTransform * trans, GstBuffer * in,
GstBuffer * out)
{
GstQuarkTV *filter = GST_QUARKTV (trans);
gint area, width, height, sstride, dstride;
gint area;
guint32 *src, *dest;
GstClockTime timestamp;
GstBuffer **planetable;
@ -140,12 +140,7 @@ gst_quarktv_transform (GstBaseTransform * trans, GstBuffer * in,
goto invalid_out;
src = GST_VIDEO_FRAME_PLANE_DATA (&in_frame, 0);
sstride = GST_VIDEO_FRAME_PLANE_STRIDE (&in_frame, 0);
dest = GST_VIDEO_FRAME_PLANE_DATA (&out_frame, 0);
dstride = GST_VIDEO_FRAME_PLANE_STRIDE (&out_frame, 0);
width = GST_VIDEO_FRAME_WIDTH (&in_frame);
height = GST_VIDEO_FRAME_HEIGHT (&in_frame);
GST_OBJECT_LOCK (filter);
area = filter->area;

View file

@ -162,7 +162,7 @@ gst_warptv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
gint width, height;
gint xw, yw, cw;
gint32 c, i, x, y, dx, dy, maxx, maxy;
gint32 skip, *ctptr, *distptr;
gint32 *ctptr, *distptr;
gint32 *ctable;
guint32 *src, *dest;
gint sstride, dstride;
@ -191,7 +191,6 @@ gst_warptv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
distptr = warptv->disttable;
ctable = warptv->ctable;
skip = 0; /* video_width*sizeof(RGB32)/4 - video_width;; */
c = 0;
for (x = 0; x < 512; x++) {