mirror of https://github.com/mpv-player/mpv
ps1_header and ps2_header should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25700 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d3fb56248d
commit
16ca65e83a
|
@ -33,13 +33,13 @@
|
||||||
|
|
||||||
static unsigned char pes_header[PES_MAX_SIZE];
|
static unsigned char pes_header[PES_MAX_SIZE];
|
||||||
|
|
||||||
static unsigned char ps2_header[] = {
|
static const unsigned char ps2_header[] = {
|
||||||
0x00, 0x00, 0x01, 0xba, 0x44, 0x00, 0x04, 0x00,
|
0x00, 0x00, 0x01, 0xba, 0x44, 0x00, 0x04, 0x00,
|
||||||
0x04, 0x01, 0x01, 0x86, 0xa3, 0xf8
|
0x04, 0x01, 0x01, 0x86, 0xa3, 0xf8
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static unsigned char ps1_header[] = {
|
static const unsigned char ps1_header[] = {
|
||||||
0x00, 0x00, 0x01, 0xba, 0x21, 0x00,
|
0x00, 0x00, 0x01, 0xba, 0x21, 0x00,
|
||||||
0xb9, 0x37, 0x83, 0x80, 0xc3, 0x51,
|
0xb9, 0x37, 0x83, 0x80, 0xc3, 0x51,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue