From 59fff90d94e01ae7cf5c3ff3a274020f4d4b2785 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Fri, 18 Feb 2011 15:32:40 +0100 Subject: options: change -alang and -slang to use string list type There is no reason to use manual language list splitting when an automatic split function is already available. Some types change from "unsigned char" to "char", but this shouldn't cause issues since [as]lang settings are unlikely to have characters above 127. --- options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.h') diff --git a/options.h b/options.h index 0fb0a7d809..ed3dbdc926 100644 --- a/options.h +++ b/options.h @@ -64,8 +64,8 @@ typedef struct MPOpts { int audio_id; int video_id; int sub_id; - char *audio_lang; - char *sub_lang; + char **audio_lang; + char **sub_lang; int hr_mp3_seek; char *audio_stream; -- cgit v1.2.3