Skip to content

Commit e6fe7bb

Browse files
Update src/h264rtpdepacketizer.cpp
Co-authored-by: Paul-Louis Ageneau <paul-louis@ageneau.org>
1 parent ee88ab7 commit e6fe7bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/h264rtpdepacketizer.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ const unsigned long stapaHeaderSize = 1;
2828
const auto fuaHeaderSize = 2;
2929
const auto rtpHeaderSize = 12;
3030

31-
const auto naluTypeBitmask = std::byte(0x1F);
32-
const auto naluTypeSTAPA = std::byte(24);
33-
const auto naluTypeFUA = std::byte(28);
34-
const auto fuaEndBitmask = std::byte(0x40);
35-
const auto naluRefIdcBitmask = std::byte(0x60);
31+
const uint8_t naluTypeBitmask = 0x1F;
32+
const uint8_t naluTypeSTAPA = 24;
33+
const uint8_t naluTypeFUA = 28;
34+
const uint8_t fuaEndBitmask = 0x40;
35+
const uint8_t naluRefIdcBitmask = 0x60;
3636

3737
message_vector H264RtpDepacketizer::buildFrame(message_vector::iterator first,
3838
message_vector::iterator last) {

0 commit comments

Comments
 (0)