diff command.c @ 25495:5cbf0cbeef7c

Add some const/static qualifiers as appropriate
author reimar
date Mon, 24 Dec 2007 16:27:52 +0000
parents 6b9447dc7590
children ca62d466a9fc
line wrap: on
line diff
--- a/command.c	Mon Dec 24 16:05:09 2007 +0000
+++ b/command.c	Mon Dec 24 16:27:52 2007 +0000
@@ -1305,7 +1305,7 @@
 	}
 #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);