summaryrefslogtreecommitdiffstats
path: root/gst/alpha
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:11:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (patch)
tree24b178742be806e745b7a3891aa0d63920c364b4 /gst/alpha
parentcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (diff)
Remove trivial unused variables detected by CLang static analyzer.
Diffstat (limited to 'gst/alpha')
-rw-r--r--gst/alpha/gstalpha.c5
-rw-r--r--gst/alpha/gstalphacolor.c3
2 files changed, 0 insertions, 8 deletions
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c
index 182f0907..01bcbde8 100644
--- a/gst/alpha/gstalpha.c
+++ b/gst/alpha/gstalpha.c
@@ -472,11 +472,6 @@ gst_alpha_set_ayuv (guint8 * src, guint8 * dest, gint width, gint height,
{
gint b_alpha = (gint) (alpha * 255);
gint y, x;
- gint size;
- gint stride;
-
- stride = gst_video_format_get_row_stride (GST_VIDEO_FORMAT_AYUV, 0, width);
- size = gst_video_format_get_size (GST_VIDEO_FORMAT_AYUV, width, height);
for (y = 0; y < height; y++) {
for (x = 0; x < width; x++) {
diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c
index aa2a03fc..a5882946 100644
--- a/gst/alpha/gstalphacolor.c
+++ b/gst/alpha/gstalphacolor.c
@@ -112,13 +112,10 @@ static GstCaps *
gst_alpha_color_transform_caps (GstBaseTransform * btrans,
GstPadDirection direction, GstCaps * caps)
{
- GstAlphaColor *alpha = NULL;
const GstCaps *tmpl_caps = NULL;
GstCaps *result = NULL, *local_caps = NULL;
guint i;
- alpha = GST_ALPHA_COLOR (btrans);
-
local_caps = gst_caps_copy (caps);
for (i = 0; i < gst_caps_get_size (local_caps); i++) {