diff --git a/src/h265nalunit.cpp b/src/h265nalunit.cpp index b196afc72..e81c48d29 100644 --- a/src/h265nalunit.cpp +++ b/src/h265nalunit.cpp @@ -38,7 +38,7 @@ H265NalUnitFragment::fragmentsFrom(shared_ptr nalu, uint16_t maximu maximumFragmentSize -= (H265_NAL_HEADER_SIZE + H265_FU_HEADER_SIZE); auto f = nalu->forbiddenBit(); uint8_t nuhLayerId = nalu->nuhLayerId() & 0x3F; // 6 bits - uint8_t nuhTempIdPlus1 = nalu->nuhTempIdPlus1() & 0xE; // 3 bits + uint8_t nuhTempIdPlus1 = nalu->nuhTempIdPlus1() & 0x7; // 3 bits uint8_t naluType = nalu->unitType() & 0x3F; // 6 bits auto payload = nalu->payload(); vector> result{};