Revert "fix compiler warning vs2010" - Jeff is faster than I

This reverts commit fa9217117a.
This commit is contained in:
Seven Du committed 2014-02-25 14:24:34 +08:00
1 parent fa9217117a
commit 4fd93b0e67
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2330,7 +2330,7 @@ srtp_unprotect_rtcp_aead (srtp_t ctx, srtp_stream_ctx_t *stream,
tag_len = auth_get_tag_length(stream->rtcp_auth);
/* Validate packet length */
if (*pkt_octet_len < (int)(octets_in_rtcp_header + tag_len +
if (*pkt_octet_len < (octets_in_rtcp_header + tag_len +
sizeof(srtcp_trailer_t))) {
return err_status_bad_param;
}