Mercurial > mplayer.hg
changeset 25672:f7151c256b72
ps1_header and ps2_header should be const
author | reimar |
---|---|
date | Sat, 12 Jan 2008 15:55:52 +0000 |
parents | 21c7bc945c8f |
children | d576b679747b |
files | libmpdemux/mpeg_packetizer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/mpeg_packetizer.c Sat Jan 12 15:50:06 2008 +0000 +++ b/libmpdemux/mpeg_packetizer.c Sat Jan 12 15:55:52 2008 +0000 @@ -33,13 +33,13 @@ 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, 0x04, 0x01, 0x01, 0x86, 0xa3, 0xf8 }; -static unsigned char ps1_header[] = { +static const unsigned char ps1_header[] = { 0x00, 0x00, 0x01, 0xba, 0x21, 0x00, 0xb9, 0x37, 0x83, 0x80, 0xc3, 0x51, };