summaryrefslogtreecommitdiff
path: root/src/lib/xiph
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/xiph')
-rw-r--r--src/lib/xiph/FlacMetadataIterator.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/xiph/FlacMetadataIterator.hxx b/src/lib/xiph/FlacMetadataIterator.hxx
index bfdf1833b..8500bd00e 100644
--- a/src/lib/xiph/FlacMetadataIterator.hxx
+++ b/src/lib/xiph/FlacMetadataIterator.hxx
@@ -31,7 +31,7 @@ public:
FlacMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {}
FlacMetadataIterator(FLAC__Metadata_Chain *chain)
- :iterator(::FLAC__metadata_iterator_new()) {
+ :FlacMetadataIterator() {
::FLAC__metadata_iterator_init(iterator, chain);
}