diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-02 12:41:54 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-07 11:12:44 +0000 |
commit | 758df04f0e9b49bcd96bfb13e35f6fd31395674a (patch) | |
tree | f7a4784535a4c311306355039f09da7872012ec5 /tests/check | |
parent | 8766717b6c321904bad121584df917a4718846a8 (diff) | |
download | gstreamer-plugins-bad-758df04f0e9b49bcd96bfb13e35f6fd31395674a.tar.gz |
tests: mark test input data const
https://bugzilla.gnome.org/show_bug.cgi?id=663235
Diffstat (limited to 'tests/check')
-rw-r--r-- | tests/check/libs/mpegvideoparser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/libs/mpegvideoparser.c b/tests/check/libs/mpegvideoparser.c index 96ca106e8..e5a2358a2 100644 --- a/tests/check/libs/mpegvideoparser.c +++ b/tests/check/libs/mpegvideoparser.c @@ -23,7 +23,7 @@ #include <gst/codecparsers/gstmpegvideoparser.h> /* 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); |