From dd00c712c9094eb32176e40c6eccdb74b2459005 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 31 Oct 2010 19:42:30 +0100 Subject: [PATCH] [MOVED FROM BAD 36/68] colorspace: Make fast-path transform table const --- gst/colorspace/colorspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/colorspace/colorspace.c b/gst/colorspace/colorspace.c index 6472ee0..dd57ee5 100644 --- a/gst/colorspace/colorspace.c +++ b/gst/colorspace/colorspace.c @@ -1170,7 +1170,7 @@ typedef struct GstVideoFormat to_format; void (*convert) (ColorspaceConvert * convert, guint8 * dest, guint8 * src); } ColorspaceTransform; -static ColorspaceTransform transforms[] = { +static const ColorspaceTransform transforms[] = { {GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_YUY2, convert_I420_YUY2}, {GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_UYVY, convert_I420_UYVY}, {GST_VIDEO_FORMAT_I420, GST_VIDEO_FORMAT_AYUV, convert_I420_AYUV}, -- 2.7.4