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/combined | |
parent | bc8c21fd7f45233fe6501e4e9a21b33a0c498248 (diff) | |
download | xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.gz xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.bz2 |
Mark all supported_types constant.
Diffstat (limited to 'src/combined')
-rw-r--r-- | src/combined/ffmpeg/ff_audio_decoder.c | 2 | ||||
-rw-r--r-- | src/combined/ffmpeg/ff_video_decoder.c | 6 | ||||
-rw-r--r-- | src/combined/flac_decoder.c | 2 | ||||
-rw-r--r-- | src/combined/nsf_combined.c | 2 | ||||
-rw-r--r-- | src/combined/wavpack_combined.c | 2 | ||||
-rw-r--r-- | src/combined/xine_speex_decoder.c | 2 | ||||
-rw-r--r-- | src/combined/xine_theora_decoder.c | 2 | ||||
-rw-r--r-- | src/combined/xine_vorbis_decoder.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/src/combined/ffmpeg/ff_audio_decoder.c b/src/combined/ffmpeg/ff_audio_decoder.c index dd03cd2a3..f79014fde 100644 --- a/src/combined/ffmpeg/ff_audio_decoder.c +++ b/src/combined/ffmpeg/ff_audio_decoder.c @@ -431,7 +431,7 @@ void *init_audio_plugin (xine_t *xine, void *data) { return this; } -static uint32_t supported_audio_types[] = { +static const uint32_t supported_audio_types[] = { #if defined(HAVE_FFMPEG) || CONFIG_WMAV1_DECODER BUF_AUDIO_WMAV1, #endif diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c index 4e5e1ebdf..d12d54c5b 100644 --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -1565,7 +1565,7 @@ void *init_video_plugin (xine_t *xine, void *data) { return this; } -static uint32_t supported_video_types[] = { +static const uint32_t supported_video_types[] = { #if defined(HAVE_FFMPEG) || CONFIG_MSMPEG4V1_DECODER BUF_VIDEO_MSMPEG4_V1, #endif @@ -1790,12 +1790,12 @@ static uint32_t supported_video_types[] = { 0 }; -static uint32_t wmv8_video_types[] = { +static const uint32_t wmv8_video_types[] = { BUF_VIDEO_WMV8, 0 }; -static uint32_t wmv9_video_types[] = { +static const uint32_t wmv9_video_types[] = { BUF_VIDEO_WMV9, 0 }; diff --git a/src/combined/flac_decoder.c b/src/combined/flac_decoder.c index 40c5fa6a3..43bad327e 100644 --- a/src/combined/flac_decoder.c +++ b/src/combined/flac_decoder.c @@ -396,7 +396,7 @@ init_plugin (xine_t *xine, void *data) { void *demux_flac_init_class (xine_t *xine, void *data); -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_FLAC, 0 }; diff --git a/src/combined/nsf_combined.c b/src/combined/nsf_combined.c index 18ab05863..0364e2db2 100644 --- a/src/combined/nsf_combined.c +++ b/src/combined/nsf_combined.c @@ -25,7 +25,7 @@ static const demuxer_info_t demux_info_nsf = { 10 /* priority */ }; -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_NSF, 0 }; diff --git a/src/combined/wavpack_combined.c b/src/combined/wavpack_combined.c index edf4bec01..8a4b488ae 100644 --- a/src/combined/wavpack_combined.c +++ b/src/combined/wavpack_combined.c @@ -27,7 +27,7 @@ static const demuxer_info_t demux_info_wv = { 0 /* priority */ }; -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_WAVPACK, 0 }; diff --git a/src/combined/xine_speex_decoder.c b/src/combined/xine_speex_decoder.c index a94ab0c0e..d189ecc58 100644 --- a/src/combined/xine_speex_decoder.c +++ b/src/combined/xine_speex_decoder.c @@ -390,7 +390,7 @@ void *speex_init_plugin (xine_t *xine, void *data) { return this; } -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_SPEEX, 0 }; diff --git a/src/combined/xine_theora_decoder.c b/src/combined/xine_theora_decoder.c index 262cb5414..96d4ca8f0 100644 --- a/src/combined/xine_theora_decoder.c +++ b/src/combined/xine_theora_decoder.c @@ -361,7 +361,7 @@ void *theora_init_plugin (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t supported_types[] = { BUF_VIDEO_THEORA, 0 }; +static const uint32_t supported_types[] = { BUF_VIDEO_THEORA, 0 }; const decoder_info_t dec_info_theora = { supported_types, /* supported types */ diff --git a/src/combined/xine_vorbis_decoder.c b/src/combined/xine_vorbis_decoder.c index 143c761c4..6d651f153 100644 --- a/src/combined/xine_vorbis_decoder.c +++ b/src/combined/xine_vorbis_decoder.c @@ -324,7 +324,7 @@ void *vorbis_init_plugin (xine_t *xine, void *data) { return this; } -static uint32_t audio_types[] = { +static const uint32_t audio_types[] = { BUF_AUDIO_VORBIS, 0 }; |