mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
stream_bluray: fix bd:// url segfault introduced by commit bc1d61
This commit is contained in:
@@ -65,12 +65,8 @@ struct bluray_priv_s {
|
||||
char *cfg_device;
|
||||
};
|
||||
|
||||
static const struct stream_priv_s {
|
||||
int title;
|
||||
char *device;
|
||||
} bluray_stream_priv_dflts = {
|
||||
BLURAY_DEFAULT_TITLE,
|
||||
NULL
|
||||
static struct bluray_priv_s bluray_stream_priv_dflts = {
|
||||
.cfg_title = BLURAY_DEFAULT_TITLE
|
||||
};
|
||||
|
||||
#define OPT_BASE_STRUCT struct bluray_priv_s
|
||||
|
||||
Reference in New Issue
Block a user