mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
tests: make const data const
https://bugzilla.gnome.org/show_bug.cgi?id=662776
This commit is contained in:
parent
ca2f96caac
commit
0a170110ea
1 changed files with 15 additions and 15 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <gst/check/gstcheck.h>
|
||||
#include <gst/codecparsers/gstvc1parser.h>
|
||||
|
||||
static guint8 sequence_fullframe[] = {
|
||||
static const guint8 sequence_fullframe[] = {
|
||||
0x00, 0x00, 0x01, 0x0f, 0xca, 0x86, 0x13, 0xf0, 0xef, 0x88,
|
||||
0x80, 0x00, 0x00, 0x01, 0x0e, 0x48, 0x3f, 0x4f, 0xc3, 0xbc,
|
||||
0x3f, 0x2b, 0x3f, 0x3c, 0x3f, 0x00, 0x00, 0x01, 0x0d, 0x3f,
|
||||
|
@ -44,11 +44,11 @@ static guint8 sequence_fullframe[] = {
|
|||
0x00, 0x00, 0x01, 0x05, 0x3f
|
||||
};
|
||||
|
||||
static guint8 pframe_header_main[] = {
|
||||
static const guint8 pframe_header_main[] = {
|
||||
0x4e, 0x29, 0x1a, 0x11
|
||||
};
|
||||
|
||||
static guint8 pframe_main[] = {
|
||||
static const guint8 pframe_main[] = {
|
||||
0x6a, 0x88, 0xbc, 0x1d, 0x40, 0x16, 0x96, 0x90, 0x05, 0x82,
|
||||
0xac, 0x22, 0x88, 0xe0, 0x5d, 0x52, 0xca, 0x85, 0x4c, 0x47,
|
||||
0x9d, 0xc9, 0x25, 0x45, 0x56, 0x99, 0x44, 0x15, 0xa5, 0xc5,
|
||||
|
@ -59,11 +59,11 @@ static guint8 pframe_main[] = {
|
|||
0x15, 0xbf, 0x54, 0x61, 0xf2, 0x25, 0x25, 0xa0, 0x83, 0xa0,
|
||||
};
|
||||
|
||||
static guint8 bframe_header_main[] = {
|
||||
static const guint8 bframe_header_main[] = {
|
||||
0x4e, 0x39, 0x1a, 0x11
|
||||
};
|
||||
|
||||
static guint8 bframe_main[] = {
|
||||
static const guint8 bframe_main[] = {
|
||||
0x80, 0xae, 0x01, 0x43, 0x47, 0x6a, 0x9f, 0x53, 0x04, 0x55, 0x2a,
|
||||
0x8b, 0x42, 0x75, 0x8b, 0x35, 0x50, 0xf5, 0x95, 0x56, 0xf2, 0x00,
|
||||
0xe0, 0xa0, 0x60, 0x2c, 0xe8, 0x6b, 0x60, 0x0b, 0x20, 0x00, 0x11,
|
||||
|
@ -80,11 +80,11 @@ static guint8 bframe_main[] = {
|
|||
0x54, 0xcd, 0xd2, 0xaf, 0x1f, 0x2b, 0xba, 0xf3, 0xd9, 0x4c, 0x71
|
||||
};
|
||||
|
||||
static guint8 i_bi_frame_header[] = {
|
||||
static const guint8 i_bi_frame_header[] = {
|
||||
0x4e, 0x79, 0x1a, 0x11
|
||||
};
|
||||
|
||||
static guint8 biframe_main[] = {
|
||||
static const guint8 biframe_main[] = {
|
||||
0x0f, 0xe0, 0x4c, 0x56, 0x19, 0xdb, 0x40, 0x68, 0xd9, 0x14, 0x2c, 0x92,
|
||||
0x55, 0x1f, 0x59, 0xd5, 0x5b, 0xd8, 0x55, 0x13, 0x19, 0x64, 0x40, 0x2c,
|
||||
0x27, 0x38, 0x71, 0x9d, 0x05, 0x52, 0x02, 0x18, 0x7b, 0x9d, 0x22, 0x88,
|
||||
|
@ -105,7 +105,7 @@ static guint8 biframe_main[] = {
|
|||
0x54, 0x45, 0x62, 0x2d, 0x00, 0x0a, 0x0e, 0x06, 0xf0, 0x04, 0x06, 0x5a
|
||||
};
|
||||
|
||||
static guint8 iframe_main[] = {
|
||||
static const guint8 iframe_main[] = {
|
||||
0x10, 0x04, 0x88, 0x18, 0x1f, 0xdf, 0xe1, 0xe1, 0xde, 0x17, 0x85, 0xe1,
|
||||
0x78, 0x5e, 0x17, 0x85, 0xe1, 0x78, 0x5e, 0x17, 0x85, 0xe1, 0x78, 0x5e,
|
||||
0x17, 0x85, 0xe1, 0x78, 0x5e, 0x17, 0x85, 0xe1, 0x78, 0x5e, 0x17, 0x85,
|
||||
|
@ -122,16 +122,16 @@ static guint8 iframe_main[] = {
|
|||
0xe1, 0x78, 0x5e, 0x17, 0x85, 0xe1, 0x78, 0x5e, 0x17, 0x85, 0xe1, 0x78
|
||||
};
|
||||
|
||||
static guint8 iframe_adv_hdr[] = {
|
||||
static const guint8 iframe_adv_hdr[] = {
|
||||
0xdb, 0xfe, 0x3b, 0xf2, 0x1b, 0xca, 0x3b, 0xf8, 0x86, 0xf1, 0x80,
|
||||
0xca, 0x02, 0x02, 0x03, 0x09, 0xa5, 0xb8, 0xd7, 0x07, 0xfc
|
||||
};
|
||||
|
||||
static guint8 entrypoint[] = {
|
||||
static const guint8 entrypoint[] = {
|
||||
0x5a, 0xc7, 0xfc, 0xef, 0xc8, 0x6c, 0x40
|
||||
};
|
||||
|
||||
static guint8 iframe_adv[] = {
|
||||
static const guint8 iframe_adv[] = {
|
||||
0x69, 0x1c, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x7f, 0x16, 0x0c, 0x0f, 0x13, 0xf0, 0xfc, 0x3f, 0x0f, 0xc3, 0xf0,
|
||||
0xfc, 0x3f, 0x0f, 0xc3, 0xf0, 0xfc, 0x3f, 0x0f, 0xc3, 0xf0, 0xfc,
|
||||
|
@ -154,7 +154,7 @@ static guint8 iframe_adv[] = {
|
|||
0x0f, 0xc3, 0xf0, 0xfc, 0x3f, 0x0f, 0xc3, 0xf0, 0xfc, 0x3f, 0x0f
|
||||
};
|
||||
|
||||
static guint8 bframe_adv[] = {
|
||||
static const guint8 bframe_adv[] = {
|
||||
0x46, 0x03, 0x1f, 0xf0, 0x8d, 0xd8, 0xbf, 0xc0, 0xcc, 0x14,
|
||||
0x24, 0xdc, 0x60, 0xe2, 0xa8, 0x5e, 0x0d, 0xff, 0xfc, 0x3b,
|
||||
0x12, 0xfd, 0xe1, 0x2e, 0xd1, 0x84, 0xb0, 0xc2, 0xc4, 0xc1,
|
||||
|
@ -397,7 +397,7 @@ static guint8 bframe_adv[] = {
|
|||
0xa0, 0x84, 0x85, 0x81, 0x94, 0x23, 0x06, 0x2f, 0x22, 0xb2,
|
||||
};
|
||||
|
||||
static guint8 bframe2_adv[] = {
|
||||
static const guint8 bframe2_adv[] = {
|
||||
0x46, 0x88, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x03, 0xf8, 0xa1, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,
|
||||
|
@ -480,7 +480,7 @@ static guint8 bframe2_adv[] = {
|
|||
0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55,
|
||||
};
|
||||
|
||||
static guint8 pframe_adv[] = {
|
||||
static const guint8 pframe_adv[] = {
|
||||
0x24, 0x20, 0x04, 0xbf, 0x85, 0x88, 0x65, 0xc1, 0x00, 0xdc,
|
||||
0x4c, 0x06, 0xce, 0x05, 0x01, 0x01, 0x41, 0x0c, 0x60, 0x42,
|
||||
0x67, 0xff, 0xfb, 0x85, 0x0b, 0x9c, 0x56, 0x0d, 0x0b, 0x1b,
|
||||
|
@ -583,7 +583,7 @@ static guint8 pframe_adv[] = {
|
|||
0x02, 0x84, 0x8f, 0x85, 0xb5, 0xb3, 0x5a, 0x81, 0x23, 0xa8,
|
||||
};
|
||||
|
||||
static guint8 pframe2_adv[] = {
|
||||
static const guint8 pframe2_adv[] = {
|
||||
0x1c, 0x22, 0x1f, 0xdc, 0x9d, 0x3b, 0x81, 0x61, 0x85, 0x2,
|
||||
0x57, 0xa0, 0x50, 0xac, 0x03, 0x81, 0x0c, 0x39, 0x4f, 0xff,
|
||||
0xc2, 0x20, 0x9f, 0xf4, 0x86, 0x16, 0x8e, 0xe1, 0xda, 0x0c,
|
||||
|
|
Loading…
Reference in a new issue