summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authortommi@webrtc.org <tommi@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-11 19:34:54 +0000
committertommi@webrtc.org <tommi@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-11 19:34:54 +0000
commit502a271a36b009a2d4efbe2741772d582e69a6c2 (patch)
tree712e70505af4469b75a4822dae85a3b5dc0db154 /modules
parent9fbd3ec906560447cebb21681c7e79e37c2eed83 (diff)
downloadwebrtc-502a271a36b009a2d4efbe2741772d582e69a6c2.tar.gz
Remove always-true expression.
TBR=pbos Review URL: https://webrtc-codereview.appspot.com/16059004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6668 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'modules')
-rw-r--r--modules/rtp_rtcp/source/rtp_format_vp8.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rtp_rtcp/source/rtp_format_vp8.cc b/modules/rtp_rtcp/source/rtp_format_vp8.cc
index 360176b3..9c04c25a 100644
--- a/modules/rtp_rtcp/source/rtp_format_vp8.cc
+++ b/modules/rtp_rtcp/source/rtp_format_vp8.cc
@@ -420,7 +420,7 @@ int RtpFormatVp8::WriteTIDAndKeyIdxFields(uint8_t* x_field,
*data_field = 0;
if (TIDFieldPresent()) {
*x_field |= kTBit;
- assert(hdr_info_.temporalIdx >= 0 && hdr_info_.temporalIdx <= 3);
+ assert(hdr_info_.temporalIdx <= 3);
*data_field |= hdr_info_.temporalIdx << 6;
*data_field |= hdr_info_.layerSync ? kYBit : 0;
}