fix RTPHeader filling by zeros underflow

regression from 6a78e2e71c
This commit is contained in:
Maks Naumov 2014-03-28 00:29:18 +02:00
parent 249d2d9eb7
commit 5c49f7d2b9

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;
}
}