Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: media/cast/rtp_common/rtp_defines.h

Issue 23467003: Added framer to cast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rtcp
Patch Set: Merge Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/rtp_common/mock_rtp_payload_feedback.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « media/cast/rtp_common/mock_rtp_payload_feedback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698