decoder/mad: pass const reference to RecoverFrameError()

This commit is contained in:
Max Kellermann 2019-08-03 11:59:41 +02:00
parent 2a07354cad
commit 9661062ae2

View File

@ -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;