summaryrefslogtreecommitdiffstats
path: root/sub/vobsub.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-02-18 15:32:40 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:42 +0300
commit59fff90d94e01ae7cf5c3ff3a274020f4d4b2785 (patch)
treea6f161866ae6918c4d2a2aebd9327716f3b53ea2 /sub/vobsub.h
parent2a7c5a1365ad194a42e3f667f85828a152544857 (diff)
downloadmpv-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 'sub/vobsub.h')
-rw-r--r--sub/vobsub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/vobsub.h b/sub/vobsub.h
index b076e4b6bc..3cef1347e5 100644
--- a/sub/vobsub.h
+++ b/sub/vobsub.h
@@ -41,7 +41,7 @@ unsigned int vobsub_rgb_to_yuv(unsigned int rgb);
void *vobsub_out_open(const char *basename, const unsigned int *palette, unsigned int orig_width, unsigned int orig_height, const char *id, unsigned int index);
void vobsub_out_output(void *me, const unsigned char *packet, int len, double pts);
void vobsub_out_close(void *me);
-int vobsub_set_from_lang(void *vobhandle, unsigned char * lang);
+int vobsub_set_from_lang(void *vobhandle, char **lang);
void vobsub_seek(void * vobhandle, float pts);
#endif /* MPLAYER_VOBSUB_H */