Skip to content

Commit

Permalink
Merge pull request #11528 from daschuer/gh11521
Browse files Browse the repository at this point in the history
Fix too strict debug assertion
  • Loading branch information
JoergAtGithub authored May 2, 2023
2 parents 45eef37 + 2e3004d commit e8cedac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sources/soundsourcemp3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ bool decodeFrameHeader(
logFrameHeader(kLogger.info(), *pMadHeader);
return false;
}
DEBUG_ASSERT(pMadStream->error == MAD_ERROR_NONE);
// Note: Recoverable errors are maintained until a frame has been successfully decoded
// Kurt Roeckx's length-check.patch applied on Debian fixes that.
DEBUG_ASSERT(!hasUnrecoverableError(pMadStream));
return true;
}

Expand Down

0 comments on commit e8cedac

Please sign in to comment.