[MOVED FROM BAD 36/68] colorspace: Make fast-path transform table const

This commit is contained in:
Sebastian Dröge 2010-10-31 19:42:30 +01:00 committed by Wim Taymans
parent 2c542f083b
commit dd00c712c9

View file

@ -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},