commit | dd6780d85d2491a4cabc81e737d503d7d879a2b9 | [log] [tgz] |
---|---|---|
author | tommi@webrtc.org <tommi@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Jul 11 19:34:54 2014 +0000 |
committer | tommi@webrtc.org <tommi@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Jul 11 19:34:54 2014 +0000 |
tree | ba868e48b367d8c42bff1cf8adb6374d05650125 | |
parent | eec6ecdb1e249871dd25d04b62fc9ddc03dc8a34 [diff] |
Remove always-true expression. TBR=pbos Review URL: https://webrtc-codereview.appspot.com/16059004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6668 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc index 360176b..9c04c25 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc +++ b/webrtc/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; }