commit | cee637c3c7a44849531ba579641c1621c95a6d8a | [log] [tgz] |
---|---|---|
author | tommi@webrtc.org <tommi@webrtc.org> | Fri Jul 11 19:34:54 2014 +0000 |
committer | tommi@webrtc.org <tommi@webrtc.org> | Fri Jul 11 19:34:54 2014 +0000 |
tree | 712e70505af4469b75a4822dae85a3b5dc0db154 | |
parent | 1ace4aac7a683b56978da73ae2f7fa0b99d522b9 [diff] |
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
diff --git a/modules/rtp_rtcp/source/rtp_format_vp8.cc b/modules/rtp_rtcp/source/rtp_format_vp8.cc index 360176b..9c04c25 100644 --- a/modules/rtp_rtcp/source/rtp_format_vp8.cc +++ b/modules/rtp_rtcp/source/rtp_format_vp8.cc
@@ -420,7 +420,7 @@ *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; }