summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-24 16:27:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-24 16:27:52 +0000
commit951bc25530f9efa8288bc2e9fdf329c6d1d6c0d6 (patch)
tree893e345a0d2b441397fb7d6fb976bb3c3c0bd12a /command.c
parentf9dd4f27ba103d909a729b6fba2b51394279b6a3 (diff)
downloadmpv-951bc25530f9efa8288bc2e9fdf329c6d1d6c0d6.tar.bz2
mpv-951bc25530f9efa8288bc2e9fdf329c6d1d6c0d6.tar.xz
Add some const/static qualifiers as appropriate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25523 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index bb3f198c68..1726c4555f 100644
--- a/command.c
+++ b/command.c
@@ -1305,7 +1305,7 @@ static int mp_property_sub(m_option_t * prop, int action, void *arg,
}
#ifdef HAVE_OGGVORBIS
if (mpctx->demuxer->type == DEMUXER_TYPE_OGG && d_sub && dvdsub_id >= 0) {
- char *lang = demux_ogg_sub_lang(mpctx->demuxer, dvdsub_id);
+ const char *lang = demux_ogg_sub_lang(mpctx->demuxer, dvdsub_id);
if (!lang)
lang = MSGTR_Unknown;
snprintf(*(char **) arg, 63, "(%d) %s", dvdsub_id, lang);