From f14c73cbfde9c5d3bc2b43d1f53325315c855825 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 13 Apr 2011 23:19:07 +0100 Subject: [PATCH] ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6 https://bugzilla.gnome.org/show_bug.cgi?id=647294 --- gst/ffmpegcolorspace/imgconvert_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/ffmpegcolorspace/imgconvert_template.h b/gst/ffmpegcolorspace/imgconvert_template.h index fa0e8c2..3b287e7 100644 --- a/gst/ffmpegcolorspace/imgconvert_template.h +++ b/gst/ffmpegcolorspace/imgconvert_template.h @@ -2153,7 +2153,7 @@ static int glue (get_alpha_info_, RGB_NAME) (const AVPicture * src, { const unsigned char *p; int src_wrap, ret, x, y; - unsigned int r, g, b, a; + unsigned int G_GNUC_UNUSED r, G_GNUC_UNUSED g, G_GNUC_UNUSED b, a; p = src->data[0]; src_wrap = src->linesize[0] - BPP * width; -- 2.7.4