From 16ca65e83a135178bd06ecce4c185eb04c9381f5 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 12 Jan 2008 15:55:52 +0000 Subject: [PATCH] ps1_header and ps2_header should be const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25700 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/mpeg_packetizer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpdemux/mpeg_packetizer.c b/libmpdemux/mpeg_packetizer.c index 8e3c13967d..ecff3f804d 100644 --- a/libmpdemux/mpeg_packetizer.c +++ b/libmpdemux/mpeg_packetizer.c @@ -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, };