mirror of
https://github.com/mpv-player/mpv
synced 2025-02-03 13:41:49 +00:00
stream_bluray: fix bd:// url segfault introduced by commit bc1d61
This commit is contained in:
parent
92720fcc0e
commit
1ef239a499
@ -65,12 +65,8 @@ struct bluray_priv_s {
|
|||||||
char *cfg_device;
|
char *cfg_device;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct stream_priv_s {
|
static struct bluray_priv_s bluray_stream_priv_dflts = {
|
||||||
int title;
|
.cfg_title = BLURAY_DEFAULT_TITLE
|
||||||
char *device;
|
|
||||||
} bluray_stream_priv_dflts = {
|
|
||||||
BLURAY_DEFAULT_TITLE,
|
|
||||||
NULL
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OPT_BASE_STRUCT struct bluray_priv_s
|
#define OPT_BASE_STRUCT struct bluray_priv_s
|
||||||
|
Loading…
Reference in New Issue
Block a user