diff --git a/tests/check/libs/mpegvideoparser.c b/tests/check/libs/mpegvideoparser.c index 96ca106e89..e5a2358a2a 100644 --- a/tests/check/libs/mpegvideoparser.c +++ b/tests/check/libs/mpegvideoparser.c @@ -23,7 +23,7 @@ #include /* actually seq + gop */ -static guint8 mpeg2_seq[] = { +static const guint8 mpeg2_seq[] = { 0x00, 0x00, 0x01, 0xb3, 0x02, 0x00, 0x18, 0x15, 0xff, 0xff, 0xe0, 0x28, 0x00, 0x00, 0x01, 0xb3, 0x78, 0x04, 0x38, 0x37, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x01, 0xb5, 0x14, 0x8a, 0x00, 0x11, 0x03, 0x71, @@ -31,7 +31,7 @@ static guint8 mpeg2_seq[] = { 0x00, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00, 0x00 }; -static guint8 mis_identified_datas[] = { +static const guint8 mis_identified_datas[] = { 0x00, 0x00, 0x01, 0x1f, 0x4a, 0xf4, 0xd4, 0xd8, 0x08, 0x23, 0xdd, 0x7c, 0xd3, 0x75, 0x21, 0x43, 0x85, 0x31, 0x43, 0x04, 0x24, 0x30, 0x18, 0x43, 0xba, 0x1a, 0x50, 0x60, 0xbb, 0x53, 0x56, 0x80, 0x41, @@ -157,7 +157,7 @@ GST_START_TEST (test_mis_identified_datas) { GList *list, *tmp; GstMpegVideoTypeOffsetSize *typeoffsz; - guint8 *data = mis_identified_datas; + const guint8 *data = mis_identified_datas; list = gst_mpeg_video_parse (mis_identified_datas, sizeof (mis_identified_datas), 0);