diff --git a/common_video/h264/h264_bitstream_parser.cc b/common_video/h264/h264_bitstream_parser.cc index 3b41599fa0..6eee02ed24 100644 --- a/common_video/h264/h264_bitstream_parser.cc +++ b/common_video/h264/h264_bitstream_parser.cc @@ -288,6 +288,7 @@ void H264BitstreamParser::ParseSlice(const uint8_t* slice, size_t length) { } case H264::NaluType::kAud: case H264::NaluType::kSei: + case H264::NaluType::kPrefix: break; // Ignore these nalus, as we don't care about their contents. default: Result res = ParseNonParameterSetNalu(slice, length, nalu_type); diff --git a/common_video/h264/h264_common.h b/common_video/h264/h264_common.h index 2beef16ac5..0b1843ee38 100644 --- a/common_video/h264/h264_common.h +++ b/common_video/h264/h264_common.h @@ -42,6 +42,7 @@ enum NaluType : uint8_t { kEndOfSequence = 10, kEndOfStream = 11, kFiller = 12, + kPrefix = 14, kStapA = 24, kFuA = 28 };