summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-03 11:59:41 +0200
committerMax Kellermann <max@musicpd.org>2019-08-03 11:59:41 +0200
commit9661062ae2f5b2bb94f3e4f32ef95baabd8ad63a (patch)
tree0fb620c3d60b5a83410266ef9a3a3876c7256864
parent2a07354cadf54b6c59df056f8c963b2642ea2f58 (diff)
decoder/mad: pass const reference to RecoverFrameError()
-rw-r--r--src/decoder/plugins/MadDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx
index 25fd740d1..1e357fd81 100644
--- a/src/decoder/plugins/MadDecoderPlugin.cxx
+++ b/src/decoder/plugins/MadDecoderPlugin.cxx
@@ -384,7 +384,7 @@ id3_tag_query(const void *p0, size_t length) noexcept
#endif /* !ENABLE_ID3TAG */
static MadDecoderAction
-RecoverFrameError(struct mad_stream &stream) noexcept
+RecoverFrameError(const struct mad_stream &stream) noexcept
{
if (MAD_RECOVERABLE(stream.error))
return MadDecoderAction::SKIP;