aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/sp5x.h
diff options
context:
space:
mode:
authorMichael Niedermayer2005-06-01 21:19:00 +0000
committerMichael Niedermayer2005-06-01 21:19:00 +0000
commitc26ae41db21d6a7d5092b3cb51ce2e4866b076ae (patch)
tree8bc945d47b0053aa8255f4a3226c48cc1c194057 /libavcodec/sp5x.h
parent435b0720a89b5aa1dd9e92f13336d5a35964a6e6 (diff)
adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sp5x.h')
-rw-r--r--libavcodec/sp5x.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/sp5x.h b/libavcodec/sp5x.h
index 469d1b46db..dee3591bc7 100644
--- a/libavcodec/sp5x.h
+++ b/libavcodec/sp5x.h
@@ -20,7 +20,7 @@
#ifndef SP5X_H
#define SP5X_H
-static uint8_t sp5x_data_sof[] =
+static const uint8_t sp5x_data_sof[] =
{
0xFF, 0xC0, /* SOF */
0x00, 0x11, /* len */
@@ -33,7 +33,7 @@ static uint8_t sp5x_data_sof[] =
0x03, 0x11, 0x01
};
-static uint8_t sp5x_data_sos[] =
+static const uint8_t sp5x_data_sos[] =
{
0xFF, 0xDA, /* SOS */
0x00, 0x0C, /* len */
@@ -46,7 +46,7 @@ static uint8_t sp5x_data_sos[] =
0x00 /* Ah/Al */
};
-static uint8_t sp5x_data_dqt[] =
+static const uint8_t sp5x_data_dqt[] =
{
0xFF, 0xDB, /* DQT */
0x00, 0x84, /* len */
@@ -70,7 +70,7 @@ static uint8_t sp5x_data_dqt[] =
0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22
};
-static uint8_t sp5x_data_dht[] = {
+static const uint8_t sp5x_data_dht[] = {
0xFF, 0xC4, /* DHT */
0x01, 0xA2, /* len */
0x00, 0x00, 0x01, 0x05, 0x01, 0x01, 0x01, 0x01,
@@ -128,7 +128,7 @@ static uint8_t sp5x_data_dht[] = {
};
-static uint8_t sp5x_quant_table[20][64]=
+static const uint8_t sp5x_quant_table[20][64]=
{
/* index 0, Q50 */
{ 16, 11, 12, 14, 12, 10, 16, 14, 13, 14, 18, 17, 16, 19, 24, 40,
@@ -233,7 +233,7 @@ static uint8_t sp5x_quant_table[20][64]=
#if 0
/* 4NF-M, not ZigZag */
-static uint8_t sp5x_quant_table_orig[18][64] =
+static const uint8_t sp5x_quant_table_orig[18][64] =
{
/* index 0, Q50 */
{ 16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55,