diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-18 15:32:40 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-20 04:22:42 +0300 |
commit | 59fff90d94e01ae7cf5c3ff3a274020f4d4b2785 (patch) | |
tree | a6f161866ae6918c4d2a2aebd9327716f3b53ea2 /mplayer.c | |
parent | 2a7c5a1365ad194a42e3f667f85828a152544857 (diff) | |
download | mpv-59fff90d94e01ae7cf5c3ff3a274020f4d4b2785.tar.bz2 mpv-59fff90d94e01ae7cf5c3ff3a274020f4d4b2785.tar.xz |
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 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3665,7 +3665,7 @@ static bool attachment_is_font(struct demux_attachment *att) return false; } -static int select_audio(demuxer_t *demuxer, int audio_id, char *audio_lang) +static int select_audio(demuxer_t *demuxer, int audio_id, char **audio_lang) { if (audio_id == -1) audio_id = demuxer_audio_track_by_lang_and_default(demuxer, audio_lang); |