summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 17:18:36 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 17:18:36 +0100
commitc292a8d56fc0531297775cf64f14190b26b9b216 (patch)
treeaccc87b5b6f1cc2753c941e84c2ff9a9d93a47ae /src/combined/ffmpeg
parentbc8c21fd7f45233fe6501e4e9a21b33a0c498248 (diff)
downloadxine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.gz
xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.bz2
Mark all supported_types constant.
Diffstat (limited to 'src/combined/ffmpeg')
-rw-r--r--src/combined/ffmpeg/ff_audio_decoder.c2
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c6
2 files changed, 4 insertions, 4 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
};