- Timestamp:
- Apr 4, 2006 9:39:10 PM (19 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/rtcp.h
r381 r382 37 37 * @{ 38 38 */ 39 40 #pragma pack(1) 39 41 40 42 /** … … 101 103 unsigned pt:8; /**< payload type */ 102 104 #endif 103 pj_uint16_t length; /**< packet length */105 unsigned length:16; /**< packet length */ 104 106 }; 105 107 … … 123 125 */ 124 126 typedef struct pjmedia_rtcp_pkt pjmedia_rtcp_pkt; 127 128 129 #pragma pack() 125 130 126 131 -
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r381 r382 1106 1106 app_perror(THIS_FILE, "Error receiving RTCP packet", status); 1107 1107 else { 1108 if (size > sizeof(strm->rem_rtcp)) { 1109 PJ_LOG(3,(THIS_FILE, "Error: RTCP packet too large")); 1108 if (size != sizeof(strm->rem_rtcp)) { 1109 PJ_LOG(3,(THIS_FILE, "Error: RTCP packet size mismatch " 1110 "(recv %d bytes, expecting %d)", 1111 size, sizeof(strm->rem_rtcp))); 1110 1112 status = -1; 1111 1113 } else {
Note: See TracChangeset
for help on using the changeset viewer.