Commit dd00c712 authored by Sebastian Dröge's avatar Sebastian Dröge Committed by Wim Taymans

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

parent 2c542f08
......@@ -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},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment