decoder/mad: pass const reference to RecoverFrameError()
This commit is contained in:
parent
2a07354cad
commit
9661062ae2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user