aboutsummaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorGravatar Clément Bœsch <ubitux@gmail.com>2011-02-18 15:32:40 +0100
committerGravatar Uoti Urpala <uau@mplayer2.org>2011-04-20 04:22:42 +0300
commit59fff90d94e01ae7cf5c3ff3a274020f4d4b2785 (patch)
treea6f161866ae6918c4d2a2aebd9327716f3b53ea2 /options.h
parent2a7c5a1365ad194a42e3f667f85828a152544857 (diff)
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.
Diffstat (limited to 'options.h')
-rw-r--r--options.h4
1 files changed, 2 insertions, 2 deletions
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;