diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 17:18:36 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-23 17:18:36 +0100 |
| commit | c292a8d56fc0531297775cf64f14190b26b9b216 (patch) | |
| tree | accc87b5b6f1cc2753c941e84c2ff9a9d93a47ae /src/libw32dll | |
| parent | bc8c21fd7f45233fe6501e4e9a21b33a0c498248 (diff) | |
| download | xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.gz xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.bz2 | |
Mark all supported_types constant.
Diffstat (limited to 'src/libw32dll')
| -rw-r--r-- | src/libw32dll/qt_decoder.c | 4 | ||||
| -rw-r--r-- | src/libw32dll/w32codec.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c index 64e30d637..2ef8ebc66 100644 --- a/src/libw32dll/qt_decoder.c +++ b/src/libw32dll/qt_decoder.c @@ -589,7 +589,7 @@ static void *qta_init_class (xine_t *xine, void *data) { return this; } -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_QDESIGN1, BUF_AUDIO_QDESIGN2, BUF_AUDIO_QCLP, @@ -1105,7 +1105,7 @@ static void *qtv_init_class (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t qtv_supported_types[] = { BUF_VIDEO_SORENSON_V3, 0 }; +static const uint32_t qtv_supported_types[] = { BUF_VIDEO_SORENSON_V3, 0 }; static const decoder_info_t qtv_dec_info = { qtv_supported_types, /* supported types */ diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index bcb5db53c..fb7d3a482 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.c @@ -1647,7 +1647,7 @@ static void *init_audio_decoder_class (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t video_types[] = { +static const uint32_t video_types[] = { BUF_VIDEO_MSMPEG4_V1, BUF_VIDEO_MSMPEG4_V2, BUF_VIDEO_MSMPEG4_V3, BUF_VIDEO_IV50, BUF_VIDEO_IV41, BUF_VIDEO_IV32, BUF_VIDEO_IV31, BUF_VIDEO_CINEPAK, /* BUF_VIDEO_ATIVCR1, */ @@ -1663,7 +1663,7 @@ static const decoder_info_t dec_info_video = { 1 /* priority */ }; -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_WMAV1, BUF_AUDIO_WMAV2, BUF_AUDIO_WMAV3, BUF_AUDIO_MSADPCM, BUF_AUDIO_MSIMAADPCM, BUF_AUDIO_MSGSM, BUF_AUDIO_IMC, BUF_AUDIO_LH, BUF_AUDIO_VOXWARE, BUF_AUDIO_ACELPNET, BUF_AUDIO_VIVOG723, BUF_AUDIO_WMAV, |
