forked from osmocom/wireshark
Clean up white space.
Define the PNG magic number as a mixture of hex and ASCII, to make it a bit clearer what's going on. svn path=/trunk/; revision=47378
This commit is contained in:
parent
e9479b543f
commit
b2fd895135
|
@ -73,7 +73,7 @@ static const guint8 jpeg_jfif_magic[] = { 0xFF, 0xD8, /* SOF */
|
|||
|
||||
/* <?xml */
|
||||
static const guint8 xml_magic[] = { '<', '?', 'x', 'm', 'l' };
|
||||
static const guint8 png_magic[] = { 137, 80, 78, 71, 13, 10, 26, 10 };
|
||||
static const guint8 png_magic[] = { 0x89, 'P', 'N', 'G', '\r', '\n', 0x1A, '\n' };
|
||||
static const guint8 gif87a_magic[] = { 'G', 'I', 'F', '8', '7', 'a'};
|
||||
static const guint8 gif89a_magic[] = { 'G', 'I', 'F', '8', '9', 'a'};
|
||||
|
||||
|
|
Loading…
Reference in New Issue