ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6

https://bugzilla.gnome.org/show_bug.cgi?id=647294
This commit is contained in:
Tim-Philipp Müller 2011-04-13 23:19:07 +01:00
parent dd62fdc585
commit f14c73cbfd

View file

@ -2153,7 +2153,7 @@ static int glue (get_alpha_info_, RGB_NAME) (const AVPicture * src,
{ {
const unsigned char *p; const unsigned char *p;
int src_wrap, ret, x, y; 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]; p = src->data[0];
src_wrap = src->linesize[0] - BPP * width; src_wrap = src->linesize[0] - BPP * width;