[MPlayer-cvslog] r25700 - trunk/libmpdemux/mpeg_packetizer.c
reimar
subversion at mplayerhq.hu
Sat Jan 12 16:55:52 CET 2008
Author: reimar
Date: Sat Jan 12 16:55:52 2008
New Revision: 25700
Log:
ps1_header and ps2_header should be const
Modified:
trunk/libmpdemux/mpeg_packetizer.c
Modified: trunk/libmpdemux/mpeg_packetizer.c
==============================================================================
--- trunk/libmpdemux/mpeg_packetizer.c (original)
+++ trunk/libmpdemux/mpeg_packetizer.c Sat Jan 12 16:55:52 2008
@@ -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,
};
More information about the MPlayer-cvslog
mailing list