summaryrefslogtreecommitdiff
path: root/src/tag
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-02-16 19:23:20 +0100
committerMax Kellermann <max@musicpd.org>2021-02-16 19:24:51 +0100
commit58f420fdcaeeb8109ef58beb88b23bb0cf42cba5 (patch)
tree5add2024b3e8c84d2739b764d765053c7cda5156 /src/tag
parentded2b31fbc9e2a4f8a01e64146bca5645e654694 (diff)
tag/RiffFormat: use CamelCase
Diffstat (limited to 'src/tag')
-rw-r--r--src/tag/RiffFormat.hxx4
-rw-r--r--src/tag/RiffId3.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tag/RiffFormat.hxx b/src/tag/RiffFormat.hxx
index f22e830d0..f218f3529 100644
--- a/src/tag/RiffFormat.hxx
+++ b/src/tag/RiffFormat.hxx
@@ -22,13 +22,13 @@
#include <cstdint>
-struct riff_header {
+struct RiffFileHeader {
char id[4];
uint32_t size;
char format[4];
};
-struct riff_chunk_header {
+struct RiffChunkHeader {
char id[4];
uint32_t size;
};
diff --git a/src/tag/RiffId3.cxx b/src/tag/RiffId3.cxx
index 2dcc99ffb..688d4cfc3 100644
--- a/src/tag/RiffId3.cxx
+++ b/src/tag/RiffId3.cxx
@@ -34,7 +34,7 @@ riff_seek_id3(InputStream &is, std::unique_lock<Mutex> &lock)
is.Rewind(lock);
- riff_header header;
+ RiffFileHeader header;
is.ReadFull(lock, &header, sizeof(header));
if (memcmp(header.id, "RIFF", 4) != 0 ||
(is.KnownSize() && FromLE32(header.size) > is.GetSize()))
@@ -43,7 +43,7 @@ riff_seek_id3(InputStream &is, std::unique_lock<Mutex> &lock)
while (true) {
/* read the chunk header */
- riff_chunk_header chunk;
+ RiffChunkHeader chunk;
is.ReadFull(lock, &chunk, sizeof(chunk));
size_t size = FromLE32(chunk.size);