diff --git a/options/options.c b/options/options.c index f20ca99817..955c1e9e32 100644 --- a/options/options.c +++ b/options/options.c @@ -1033,7 +1033,7 @@ static const struct MPOpts mp_default_opts = { [STREAM_VIDEO] = -2, [STREAM_SUB] = -2, }, }, .stream_lang = { - [STREAM_SUB] = (char**)(const char*[]) {"auto", NULL}, + [STREAM_SUB] = (char *[]){ "auto", NULL }, }, .stream_auto_sel = true, .subs_with_matching_audio = false, @@ -1057,7 +1057,7 @@ static const struct MPOpts mp_default_opts = { .mf_fps = 1.0, - .display_tags = (char **)(const char*[]){ + .display_tags = (char *[]){ "Artist", "Album", "Album_Artist", "Comment", "Composer", "Date", "Description", "Genre", "Performer", "Rating", "Series", "Title", "Track", "icy-title", "service_name", @@ -1067,7 +1067,7 @@ static const struct MPOpts mp_default_opts = { .cuda_device = -1, - .watch_later_options = (char **)(const char*[]){ + .watch_later_options = (char *[]){ "start", "osd-level", "speed",