@@ -35,7 +35,7 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
35
35
received_time_(received_time),
36
36
times_nacked_(times_nacked) {
37
37
VCMPacket* first_packet = packet_buffer_->GetPacket (first_seq_num);
38
- RTC_DCHECK (first_packet);
38
+ RTC_CHECK (first_packet);
39
39
40
40
// RtpFrameObject members
41
41
frame_type_ = first_packet->frameType ;
@@ -74,10 +74,11 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
74
74
_frameType = kVideoFrameDelta ;
75
75
frame_type_ = kVideoFrameDelta ;
76
76
for (uint16_t seq_num = first_seq_num;
77
- seq_num != last_seq_num + 1 && _frameType == kVideoFrameDelta ;
77
+ seq_num != static_cast <uint16_t >(last_seq_num + 1 ) &&
78
+ _frameType == kVideoFrameDelta ;
78
79
++seq_num) {
79
80
VCMPacket* packet = packet_buffer_->GetPacket (seq_num);
80
- RTC_DCHECK (packet);
81
+ RTC_CHECK (packet);
81
82
const RTPVideoHeaderH264& header = packet->video_header .codecHeader .H264 ;
82
83
for (size_t i = 0 ; i < header.nalus_length ; ++i) {
83
84
if (header.nalus [i].type == H264::NaluType::kIdr ) {
@@ -100,7 +101,7 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
100
101
timestamp = first_packet->timestamp ;
101
102
102
103
VCMPacket* last_packet = packet_buffer_->GetPacket (last_seq_num);
103
- RTC_DCHECK (last_packet && last_packet->markerBit );
104
+ RTC_CHECK (last_packet && last_packet->markerBit );
104
105
// http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/
105
106
// ts_126114v120700p.pdf Section 7.4.5.
106
107
// The MTSI client shall add the payload bytes as defined in this clause
0 commit comments