diff options
author | Max Kellermann <max@duempel.org> | 2016-02-23 10:10:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-23 10:10:13 +0100 |
commit | 73307bf2e79b36df4939ef14771dd14e17d73cc5 (patch) | |
tree | 87d149a0dc0f12e3e27eedac2cfcb033fc7ff810 /src/decoder/plugins/SndfileDecoderPlugin.cxx | |
parent | 7623c1c5cba95f24f2fb530d9796eceb9a95b710 (diff) |
tag/TagHandler: pass by reference
Diffstat (limited to 'src/decoder/plugins/SndfileDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/SndfileDecoderPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx index 05b263f75..b42c318ce 100644 --- a/src/decoder/plugins/SndfileDecoderPlugin.cxx +++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx @@ -244,7 +244,7 @@ sndfile_stream_decode(Decoder &decoder, InputStream &is) static void sndfile_handle_tag(SNDFILE *sf, int str, TagType tag, - const TagHandler *handler, void *handler_ctx) + const TagHandler &handler, void *handler_ctx) { const char *value = sf_get_string(sf, str); if (value != nullptr) @@ -266,7 +266,7 @@ static constexpr struct { static bool sndfile_scan_stream(InputStream &is, - const TagHandler *handler, void *handler_ctx) + const TagHandler &handler, void *handler_ctx) { SF_INFO info; |