Skip to content

Commit

Permalink
Fix a mistake in commit cd49838
Browse files Browse the repository at this point in the history
  • Loading branch information
xtne6f committed Mar 14, 2024
1 parent 0c661e1 commit 5dc8323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp4fragmenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void CMp4Fragmenter::AddVideoPes(const std::vector<uint8_t> &pes, bool h265)
// Drop SEI
}
else {
if (h265 ? (nalUnitType >= 16 || nalUnitType <= 21) : (nalUnitType == 5)) {
if (h265 ? (nalUnitType >= 16 && nalUnitType <= 21) : (nalUnitType == 5)) {
// IRAP (BLA or CRA or IDR)
isKey = true;
}
Expand Down

0 comments on commit 5dc8323

Please sign in to comment.