diff options
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r-- | stream/stream_cdda.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c index 26ad560cae..4c114ca1ac 100644 --- a/stream/stream_cdda.c +++ b/stream/stream_cdda.c @@ -460,16 +460,16 @@ static int open_cdda(stream_t *st, int m) } const stream_info_t stream_info_cdda = { - "cdda", - open_cdda, - {"cdda", NULL }, + .name = "cdda", + .open = open_cdda, + .protocols = (const char*[]){"cdda", NULL }, .priv_size = sizeof(cdda_priv), .priv_defaults = &cdda_dflts, .options = cdda_params_fields, - .url_options = { - {"hostname", "span"}, - {"port", "speed"}, - {"filename", "device"}, - {0} + .url_options = (const char*[]){ + "hostname=span", + "port=speed", + "filename=device", + NULL }, }; |