diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 16:27:17 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 16:27:17 +0100 |
commit | b969e207d78db34357343626eba99339d874eab4 (patch) | |
tree | b2c1ab8c6e5cf44d5c229e02e1b1adb64060bd31 /src | |
parent | 9e0f5443c389736ce490a5e6afaf7b36c44f23c0 (diff) | |
download | xine-lib-b969e207d78db34357343626eba99339d874eab4.tar.gz xine-lib-b969e207d78db34357343626eba99339d874eab4.tar.bz2 |
Mark sizes constant.
Diffstat (limited to 'src')
-rw-r--r-- | src/spu_dec/cmml_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spu_dec/cmml_decoder.c b/src/spu_dec/cmml_decoder.c index 6ce6d3f90..a6d79c6d6 100644 --- a/src/spu_dec/cmml_decoder.c +++ b/src/spu_dec/cmml_decoder.c @@ -88,13 +88,13 @@ static void video_frame_format_change_callback (void *user_data, const xine_even static void update_font_size (spucmml_decoder_t *this) { - static int sizes[SUBTITLE_SIZE_NUM][4] = { + static const int sizes[SUBTITLE_SIZE_NUM][4] = { { 16, 16, 16, 20 }, /* SUBTITLE_SIZE_SMALL */ { 16, 16, 20, 24 }, /* SUBTITLE_SIZE_NORMAL */ { 16, 20, 24, 32 }, /* SUBTITLE_SIZE_LARGE */ }; - int *vec = sizes[this->subtitle_size]; + const int *vec = sizes[this->subtitle_size]; int y; if( this->cached_width >= 512 ) |