summaryrefslogtreecommitdiff
path: root/toxav/rtp.c
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2014-08-04 00:15:00 +0200
committermannol <eniz_vukovic@hotmail.com>2014-08-04 00:15:00 +0200
commit733c509582cf6d1366ec3284d4089f24fe4bbae5 (patch)
treea1791e8a78be1ecb3177896f75895694a60eb868 /toxav/rtp.c
parent6c1ac97da9dd9e64cf53cb9137944f0d595698fc (diff)
Fix some toxav warnings
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r--toxav/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 595c58cc..de6c9c41 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -112,7 +112,7 @@ RTPHeader *extract_header ( const uint8_t *payload, int length )
112 * I don't need to parse the other stuff if it's bad 112 * I don't need to parse the other stuff if it's bad
113 */ 113 */
114 uint8_t _cc = GET_FLAG_CSRCC ( _retu ); 114 uint8_t _cc = GET_FLAG_CSRCC ( _retu );
115 uint32_t _length = 12 /* Minimum header len */ + ( _cc * 4 ); 115 int _length = 12 /* Minimum header len */ + ( _cc * 4 );
116 116
117 if ( length < _length ) { 117 if ( length < _length ) {
118 /* Deallocate */ 118 /* Deallocate */