mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
tests: mark test input data const
https://bugzilla.gnome.org/show_bug.cgi?id=663235
This commit is contained in:
parent
8766717b6c
commit
758df04f0e
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue