summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:29:27 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:37:02 +0100
commit49baf44c2459ee5f8b77d00858f629880ee2156c (patch)
treed24c9fc27d0e13536359f04dbecc43218e536ac0 /libavcodec
parentb052601b9590b1020619bdccae6739808d0fe2b2 (diff)
Make ff_mba_* arrays const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h263.h4
-rw-r--r--libavcodec/h263data.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/h263.h b/libavcodec/h263.h
index 1a3c85e22e..0c11514786 100644
--- a/libavcodec/h263.h
+++ b/libavcodec/h263.h
@@ -59,8 +59,8 @@ extern RLTable rl_intra_aic;
extern const uint16_t h263_format[8][2];
extern const uint8_t modified_quant_tab[2][32];
-extern uint16_t ff_mba_max[6];
-extern uint8_t ff_mba_length[7];
+extern const uint16_t ff_mba_max[6];
+extern const uint8_t ff_mba_length[7];
extern uint8_t ff_h263_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h
index 81e3ddd2e0..907eae2a65 100644
--- a/libavcodec/h263data.h
+++ b/libavcodec/h263data.h
@@ -264,11 +264,11 @@ const uint8_t ff_h263_chroma_qscale_table[32]={
0, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 9,10,10,11,11,12,12,12,13,13,13,14,14,14,14,14,15,15,15,15,15
};
-uint16_t ff_mba_max[6]={
+const uint16_t ff_mba_max[6]={
47, 98, 395,1583,6335,9215
};
-uint8_t ff_mba_length[7]={
+const uint8_t ff_mba_length[7]={
6, 7, 9, 11, 13, 14, 14
};