From 58f420fdcaeeb8109ef58beb88b23bb0cf42cba5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Feb 2021 19:23:20 +0100 Subject: tag/RiffFormat: use CamelCase --- src/tag/RiffFormat.hxx | 4 ++-- src/tag/RiffId3.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tag') 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 -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 &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 &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); -- cgit v1.2.3