From dd6780d85d2491a4cabc81e737d503d7d879a2b9 Mon Sep 17 00:00:00 2001 From: "tommi@webrtc.org" Date: Fri, 11 Jul 2014 19:34:54 +0000 Subject: [PATCH] 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 --- webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc index 360176b3cb..9c04c25a18 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 @@ 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; }