[FFmpeg-cvslog] Make ff_mba_* arrays const.
Reimar Döffinger
git at videolan.org
Sat Nov 5 15:45:28 CET 2011
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov 5 15:29:27 2011 +0100| [49baf44c2459ee5f8b77d00858f629880ee2156c] | committer: Reimar Döffinger
Make ff_mba_* arrays const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49baf44c2459ee5f8b77d00858f629880ee2156c
---
libavcodec/h263.h | 4 ++--
libavcodec/h263data.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/h263.h b/libavcodec/h263.h
index 1a3c85e..0c11514 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 81e3ddd..907eae2 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
};
More information about the ffmpeg-cvslog
mailing list