summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-29 14:24:10 +0100
committerMax Kellermann <max@musicpd.org>2018-10-29 14:34:30 +0100
commite33c08357a73a2385ed0da9651576be3ebb1abcb (patch)
tree6ff3b676512d9ade5eaf1f81324ee5cdd5bc4d1d /src/input
parent2dc5648e578a45c8822c81d036cfdc130bce5db1 (diff)
input/CdioParanoia: rename struct cdio_uri to CdioUri
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/CdioParanoiaInputPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx
index fe3403e33..d815eadc7 100644
--- a/src/input/plugins/CdioParanoiaInputPlugin.cxx
+++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx
@@ -122,13 +122,13 @@ input_cdio_init(EventLoop &, const ConfigBlock &block)
speed = block.GetBlockValue("speed",0u);
}
-struct cdio_uri {
+struct CdioUri {
char device[64];
int track;
};
static bool
-parse_cdio_uri(struct cdio_uri *dest, const char *src)
+parse_cdio_uri(CdioUri *dest, const char *src)
{
if (*src == 0) {
/* play the whole CD in the default drive */
@@ -186,7 +186,7 @@ input_cdio_open(const char *uri,
uri = StringAfterPrefixIgnoreCase(uri, "cdda://");
assert(uri != nullptr);
- struct cdio_uri parsed_uri;
+ CdioUri parsed_uri;
if (!parse_cdio_uri(&parsed_uri, uri))
return nullptr;