summaryrefslogtreecommitdiffstats
path: root/stream/pnm.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:47:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 12:47:38 +0000
commit8b9ae5a5243d4a151d5706772346dd63fb365002 (patch)
tree59efd7ee3fef8bae97c94c8e9c01e497f52df505 /stream/pnm.c
parent4dcf33d6e2623724ad1411427534b29d46db6287 (diff)
downloadmpv-8b9ae5a5243d4a151d5706772346dd63fb365002.tar.bz2
mpv-8b9ae5a5243d4a151d5706772346dd63fb365002.tar.xz
Make some pnm data const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25723 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/pnm.c')
-rw-r--r--stream/pnm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/pnm.c b/stream/pnm.c
index 068a7e8c01..ef9e8ed8f1 100644
--- a/stream/pnm.c
+++ b/stream/pnm.c
@@ -195,13 +195,13 @@ static const uint32_t pnm_available_bandwidths[]={14400,19200,28800,33600,34430,
115200,262200,393216,524300,1544000,10485800};
#define PNM_TWENTYFOUR_SIZE 16
-static unsigned char pnm_twentyfour[]={
+static const unsigned char pnm_twentyfour[]={
0xd5, 0x42, 0xa3, 0x1b, 0xef, 0x1f, 0x70, 0x24,
0x85, 0x29, 0xb3, 0x8d, 0xba, 0x11, 0xf3, 0xd6 };
/* now other data follows. marked with 0x0000 at the beginning */
static int after_chunks_length=6;
-static unsigned char after_chunks[]={
+static const unsigned char after_chunks[]={
0x00, 0x00, /* mark */
0x50, 0x84, /* seems to be fixated */