Skip to content

Commit

Permalink
don't capture anything while looking for a CRC32 element
Browse files Browse the repository at this point in the history
test_crc still passes after this.
  • Loading branch information
robUx4 committed Feb 26, 2024
1 parent 8179549 commit 774e7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EbmlMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void EbmlMaster::Read(EbmlStream & inDataStream, const EbmlSemanticContext & sCo
processCrc:

auto CrcItr =
std::find_if(ElementList.begin(), ElementList.end(), [=](auto &&element) {
std::find_if(ElementList.begin(), ElementList.end(), [](auto &&element) {
return EbmlId(*element) == EBML_ID(EbmlCrc32);
});
if (CrcItr != ElementList.end()) {
Expand Down

0 comments on commit 774e7f7

Please sign in to comment.