summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-12 15:55:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-12 15:55:52 +0000
commit16ca65e83a135178bd06ecce4c185eb04c9381f5 (patch)
tree40abb56db06d5cbdf5137c384c32e3675aef24a2 /libmpdemux
parentd3fb56248d9091b57437f1076b5ef728ab6602b1 (diff)
downloadmpv-16ca65e83a135178bd06ecce4c185eb04c9381f5.tar.bz2
mpv-16ca65e83a135178bd06ecce4c185eb04c9381f5.tar.xz
ps1_header and ps2_header should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25700 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/mpeg_packetizer.c4
1 files 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,
};