diff options
author | Noble Huang <noblehng@gmail.com> | 2013-08-12 21:38:22 +0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-12 19:00:39 +0200 |
commit | 1ef239a499f3f65563df34fe6fc90161fe8c534e (patch) | |
tree | 9b74255a71602cba5bb2b9f0c02998c99472a51e /stream/stream_bluray.c | |
parent | 92720fcc0e77c4046aa83d127fc448a660e192e2 (diff) | |
download | mpv-1ef239a499f3f65563df34fe6fc90161fe8c534e.tar.bz2 mpv-1ef239a499f3f65563df34fe6fc90161fe8c534e.tar.xz |
stream_bluray: fix bd:// url segfault introduced by commit bc1d61
Diffstat (limited to 'stream/stream_bluray.c')
-rw-r--r-- | stream/stream_bluray.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index 4864931cd5..3058792766 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -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 |