diff options
author | Max Kellermann <max@duempel.org> | 2013-07-31 00:26:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-31 00:35:05 +0200 |
commit | 7f9402bd22f02a46b32d53560094622493f33f37 (patch) | |
tree | b96b437520be32a512943985035939b9b94e5223 /src/decoder/FlacCommon.hxx | |
parent | cbd38327e7f6948647768227ac4836f64e5ccd51 (diff) | |
download | mpd-7f9402bd22f02a46b32d53560094622493f33f37.tar.gz mpd-7f9402bd22f02a46b32d53560094622493f33f37.tar.xz mpd-7f9402bd22f02a46b32d53560094622493f33f37.zip |
Tag: add method Clear()
Allow reusing Tag instances.
Diffstat (limited to 'src/decoder/FlacCommon.hxx')
-rw-r--r-- | src/decoder/FlacCommon.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/FlacCommon.hxx b/src/decoder/FlacCommon.hxx index e3555efba..d2e240d81 100644 --- a/src/decoder/FlacCommon.hxx +++ b/src/decoder/FlacCommon.hxx @@ -81,10 +81,9 @@ struct flac_data : public FlacInput { struct decoder *decoder; struct input_stream *input_stream; - Tag *tag; + Tag tag; flac_data(struct decoder *decoder, struct input_stream *input_stream); - ~flac_data(); }; void flac_metadata_common_cb(const FLAC__StreamMetadata * block, |