/* This test doesn't use actual JPEG data, but some fake data that we know
will trigger certain paths in jpegparse. */
-guint8 test_data_garbage[] = { 0x00, 0x01, 0xff, 0x32, 0x00, 0xff };
-guint8 test_data_short_frame[] = { 0xff, 0xd8, 0xff, 0xd9 };
+static guint8 test_data_garbage[] = { 0x00, 0x01, 0xff, 0x32, 0x00, 0xff };
+static guint8 test_data_short_frame[] = { 0xff, 0xd8, 0xff, 0xd9 };
-guint8 test_data_normal_frame[] = { 0xff, 0xd8, 0xff, 0x12, 0x00, 0x03, 0x33,
- 0xff, 0xd9
+static guint8 test_data_normal_frame[] = { 0xff, 0xd8, 0xff, 0x12, 0x00, 0x03,
+ 0x33, 0xff, 0xd9
};
-guint8 test_data_entropy[] = { 0xff, 0xd8, 0xff, 0xda, 0x00, 0x04, 0x22, 0x33,
- 0x44, 0xff, 0x00, 0x55, 0xff, 0x04, 0x00, 0x04, 0x22, 0x33, 0xff, 0xd9
+static guint8 test_data_entropy[] = { 0xff, 0xd8, 0xff, 0xda, 0x00, 0x04, 0x22,
+ 0x33, 0x44, 0xff, 0x00, 0x55, 0xff, 0x04, 0x00, 0x04, 0x22, 0x33, 0xff, 0xd9
};
-guint8 test_data_ff[] = { 0xff, 0xff };
+static guint8 test_data_ff[] = { 0xff, 0xff };
-guint8 test_data_extra_ff[] = { 0xff, 0xd8, 0xff, 0xff, 0xff, 0x12, 0x00, 0x03,
- 0x33, 0xff, 0xff, 0xff, 0xd9
+static guint8 test_data_extra_ff[] = { 0xff, 0xd8, 0xff, 0xff, 0xff, 0x12, 0x00,
+ 0x03, 0x33, 0xff, 0xff, 0xff, 0xd9
};
-guint8 test_data_soi[] = { 0xff, 0xd8 };
+static guint8 test_data_soi[] = { 0xff, 0xd8 };
-guint8 test_data_app1_exif[] = {
+static guint8 test_data_app1_exif[] = {
0xff, 0xe1,
0x00, 0xd2, /* length = 210 */
0x45, 0x78, 0x69, 0x66, 0x00, /* Exif */
0x22, 0x20,
};
-guint8 test_data_comment[] = {
+static guint8 test_data_comment[] = {
0xff, 0xfe,
0x00, 0x08, /* size */
/* xxxxx */
0x78, 0x78, 0x78, 0x78, 0x78, 0x00,
};
-guint8 test_data_sof0[] = {
+static guint8 test_data_sof0[] = {
0xff, 0xc0, /* baseline dct-based */
0x00, 0x11, /* size */
0x08, /* precision */
0x03, 0x11, 0x01, /* component 3 */
};
-guint8 test_data_eoi[] = { 0xff, 0xd9 };
+static guint8 test_data_eoi[] = { 0xff, 0xd9 };
static GList *
_make_buffers_in (GList * buffer_in, guint8 * test_data, gsize test_data_size)