Backed out changeset d0a0127e099e (bug 880067)
authorWes Kocher <wkocher@mozilla.com>
Tue, 10 Sep 2013 16:49:26 -0700
changeset 146472 20de45e5a35e55a51fc3f54996824c327624d544
parent 146471 e370a6d8e8cec9d3f35764f7cc110ac6b595b10a
child 146473 4fdd3cddee3ae16f85f96071d1e4252d686069dc
push id33569
push userkwierso@gmail.com
push dateTue, 10 Sep 2013 23:52:16 +0000
treeherdermozilla-inbound@4fdd3cddee3a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs880067
milestone26.0a1
backs outd0a0127e099e03a7ff9ad32b8616260b19a09429
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset d0a0127e099e (bug 880067)
media/webrtc/signaling/src/sipcc/include/ccsdp_rtcp_fb.h
--- a/media/webrtc/signaling/src/sipcc/include/ccsdp_rtcp_fb.h
+++ b/media/webrtc/signaling/src/sipcc/include/ccsdp_rtcp_fb.h
@@ -45,16 +45,23 @@ typedef enum {
     SDP_RTCP_FB_CCM_FIR = 0,
     SDP_RTCP_FB_CCM_TMMBR,
     SDP_RTCP_FB_CCM_TSTR,
     SDP_RTCP_FB_CCM_VBCM,
     SDP_MAX_RTCP_FB_CCM,
     SDP_RTCP_FB_CCM_UNKNOWN
 } sdp_rtcp_fb_ccm_type_e;
 
+#if defined(__has_extension) && __has_extension(cxx_static_assert)
+static_assert(SDP_MAX_RTCP_FB_NACK +
+              SDP_MAX_RTCP_FB_ACK +
+              SDP_MAX_RTCP_FB_CCM < 32,
+              "rtcp-fb Bitmap is larger than 32 bits");
+#endif
+
 static inline int32_t
 sdp_rtcp_fb_nack_to_bitmap(sdp_rtcp_fb_nack_type_e type)
 {
   int bitnumber = type;
 
   if (type < 0 || type >= SDP_MAX_RTCP_FB_NACK) {
     return 0;
   }