MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / RecoverFrameError

Function RecoverFrameError

src/decoder/plugins/MadDecoderPlugin.cxx:336–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334#endif /* !ENABLE_ID3TAG */
335
336static MadDecoderAction
337RecoverFrameError(const struct mad_stream &stream) noexcept
338{
339 if (MAD_RECOVERABLE(stream.error))
340 return MadDecoderAction::SKIP;
341
342 FmtWarning(mad_domain,
343 "unrecoverable frame level error: {}",
344 mad_stream_errorstr(&stream));
345 return MadDecoderAction::BREAK;
346}
347
348MadDecoderAction
349MadDecoder::DecodeNextFrame(bool skip, Tag *tag) noexcept

Callers 1

DecodeNextFrameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected