diff options
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r-- | toxav/rtp.c | 2 |
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 */ |