From: Tim-Philipp Müller Date: Wed, 13 Apr 2011 22:19:07 +0000 (+0100) Subject: ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6 X-Git-Tag: 1.19.3~511^2~6555^2~985 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f14c73cbfde9c5d3bc2b43d1f53325315c855825;p=platform%2Fupstream%2Fgstreamer.git ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6 https://bugzilla.gnome.org/show_bug.cgi?id=647294 --- 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;