From d43218ed16fb0b953b662fe12a06ec994604ae25 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 Jul 2018 14:06:23 +0200 Subject: [PATCH] lib/xiph/FlacMetadataIterator: proper CamelCase --- src/decoder/plugins/FlacMetadata.cxx | 2 +- src/lib/xiph/FlacMetadataIterator.hxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/decoder/plugins/FlacMetadata.cxx b/src/decoder/plugins/FlacMetadata.cxx index 916e05ade..2c7eb3270 100644 --- a/src/decoder/plugins/FlacMetadata.cxx +++ b/src/decoder/plugins/FlacMetadata.cxx @@ -164,7 +164,7 @@ flac_vorbis_comments_to_tag(const FLAC__StreamMetadata_VorbisComment *comment) void FlacMetadataChain::Scan(TagHandler &handler) noexcept { - FLACMetadataIterator iterator(chain); + FlacMetadataIterator iterator(chain); do { FLAC__StreamMetadata *block = iterator.GetBlock(); diff --git a/src/lib/xiph/FlacMetadataIterator.hxx b/src/lib/xiph/FlacMetadataIterator.hxx index 6890e1342..bfdf1833b 100644 --- a/src/lib/xiph/FlacMetadataIterator.hxx +++ b/src/lib/xiph/FlacMetadataIterator.hxx @@ -24,18 +24,18 @@ #include -class FLACMetadataIterator { +class FlacMetadataIterator { FLAC__Metadata_Iterator *iterator; public: - FLACMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {} + FlacMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {} - FLACMetadataIterator(FLAC__Metadata_Chain *chain) + FlacMetadataIterator(FLAC__Metadata_Chain *chain) :iterator(::FLAC__metadata_iterator_new()) { ::FLAC__metadata_iterator_init(iterator, chain); } - ~FLACMetadataIterator() { + ~FlacMetadataIterator() { ::FLAC__metadata_iterator_delete(iterator); }