Merge pull request #818 from maksqwe/rtp_header_fix

fix RTPHeader filling by zeros underflow
This commit is contained in:
irungentoo 2014-03-27 19:38:12 -04:00
commit a116673554

View File

@ -262,7 +262,7 @@ RTPHeader *extract_header ( const uint8_t *payload, int length )
return NULL;
}
memset(_retu->csrc, 0, 16);
memset(_retu->csrc, 0, 16 * sizeof (uint32_t));
_retu->marker_payloadt = *_it;
++_it;
@ -912,4 +912,4 @@ int rtp_terminate_session ( RTPSession *session, Messenger *messenger )
free ( session );
return 0;
}
}