lib/xiph/FlacMetadataIterator: proper CamelCase

This commit is contained in:
Max Kellermann 2018-07-07 14:06:23 +02:00
parent 3d43e4e954
commit d43218ed16
2 changed files with 5 additions and 5 deletions

View File

@ -164,7 +164,7 @@ flac_vorbis_comments_to_tag(const FLAC__StreamMetadata_VorbisComment *comment)
void void
FlacMetadataChain::Scan(TagHandler &handler) noexcept FlacMetadataChain::Scan(TagHandler &handler) noexcept
{ {
FLACMetadataIterator iterator(chain); FlacMetadataIterator iterator(chain);
do { do {
FLAC__StreamMetadata *block = iterator.GetBlock(); FLAC__StreamMetadata *block = iterator.GetBlock();

View File

@ -24,18 +24,18 @@
#include <FLAC/metadata.h> #include <FLAC/metadata.h>
class FLACMetadataIterator { class FlacMetadataIterator {
FLAC__Metadata_Iterator *iterator; FLAC__Metadata_Iterator *iterator;
public: 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()) { :iterator(::FLAC__metadata_iterator_new()) {
::FLAC__metadata_iterator_init(iterator, chain); ::FLAC__metadata_iterator_init(iterator, chain);
} }
~FLACMetadataIterator() { ~FlacMetadataIterator() {
::FLAC__metadata_iterator_delete(iterator); ::FLAC__metadata_iterator_delete(iterator);
} }