ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 13 Apr 2011 22:19:07 +0000 (23:19 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 13 Apr 2011 22:19:51 +0000 (23:19 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=647294

gst/ffmpegcolorspace/imgconvert_template.h

index fa0e8c2..3b287e7 100644 (file)
@@ -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;