Commit 9661062a authored by Max Kellermann's avatar Max Kellermann

decoder/mad: pass const reference to RecoverFrameError()

parent 2a07354c
...@@ -384,7 +384,7 @@ id3_tag_query(const void *p0, size_t length) noexcept ...@@ -384,7 +384,7 @@ id3_tag_query(const void *p0, size_t length) noexcept
#endif /* !ENABLE_ID3TAG */ #endif /* !ENABLE_ID3TAG */
static MadDecoderAction static MadDecoderAction
RecoverFrameError(struct mad_stream &stream) noexcept RecoverFrameError(const struct mad_stream &stream) noexcept
{ {
if (MAD_RECOVERABLE(stream.error)) if (MAD_RECOVERABLE(stream.error))
return MadDecoderAction::SKIP; return MadDecoderAction::SKIP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment