diff options
author | Max Kellermann <max@musicpd.org> | 2019-08-03 11:59:41 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-08-03 11:59:41 +0200 |
commit | 9661062ae2f5b2bb94f3e4f32ef95baabd8ad63a (patch) | |
tree | 0fb620c3d60b5a83410266ef9a3a3876c7256864 | |
parent | 2a07354cadf54b6c59df056f8c963b2642ea2f58 (diff) |
decoder/mad: pass const reference to RecoverFrameError()
-rw-r--r-- | src/decoder/plugins/MadDecoderPlugin.cxx | 2 |
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; |