From ed2d819ea5b1b0ca08c644dbc7583994ad29171a Mon Sep 17 00:00:00 2001 From: Noble Huang Date: Mon, 12 Aug 2013 21:38:22 +0800 Subject: stream_bluray: fix bd:// url segfault introduced by commit bc1d61 --- stream/stream_bluray.c | 8 ++------ 1 file 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 -- cgit v1.2.3