| 334 | #endif /* !ENABLE_ID3TAG */ |
| 335 | |
| 336 | static MadDecoderAction |
| 337 | RecoverFrameError(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 | |
| 348 | MadDecoderAction |
| 349 | MadDecoder::DecodeNextFrame(bool skip, Tag *tag) noexcept |