| Index: media/cast/rtp_common/rtp_defines.h
|
| diff --git a/media/cast/rtp_common/rtp_defines.h b/media/cast/rtp_common/rtp_defines.h
|
| index 22dba6804c091b951cc33670eafc25057238c0ca..89ee019427edcb89f337abf9e7719d38e8d998f7 100644
|
| --- a/media/cast/rtp_common/rtp_defines.h
|
| +++ b/media/cast/rtp_common/rtp_defines.h
|
| @@ -10,7 +10,6 @@
|
| #include "base/basictypes.h"
|
| #include "media/cast/cast_config.h"
|
| #include "media/cast/rtcp/rtcp_defines.h"
|
| -
|
| #include "third_party/webrtc/modules/interface/module_common_types.h"
|
|
|
| namespace media {
|
| @@ -55,8 +54,7 @@ inline bool IsOlderFrameId(uint8 frame_id, uint8 prev_frame_id) {
|
| return (frame_id == prev_frame_id) || IsNewerFrameId(prev_frame_id, frame_id);
|
| }
|
|
|
| -inline bool IsNewerPacketId(uint16 packet_id,
|
| - uint16 prev_packet_id) {
|
| +inline bool IsNewerPacketId(uint16 packet_id, uint16 prev_packet_id) {
|
| return (packet_id != prev_packet_id) &&
|
| static_cast<uint16>(packet_id - prev_packet_id) < 0x8000;
|
| }
|
| @@ -69,4 +67,5 @@ inline bool IsNewerSequenceNumber(uint16 sequence_number,
|
|
|
| } // namespace cast
|
| } // namespace media
|
| +
|
| #endif // MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_
|
|
|