diff options
author | irungentoo <irungentoo@gmail.com> | 2014-11-29 16:09:50 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-11-29 16:09:50 -0500 |
commit | e254c4fe3e7431a22614851156648e9ae8ff9577 (patch) | |
tree | 9319a853797f63fc9dafd85e05c5bfed527fb2cc /toxav/toxav.c | |
parent | 8deb032b2d9a77465a3c2b65a409787098e387cd (diff) |
Fixed bug where video didn't work anymore.
Some other cleanups.
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 4d9d668d..8101cbdb 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -372,11 +372,6 @@ static int toxav_send_rtp_payload(ToxAv *av, | |||
372 | const uint8_t *payload, | 372 | const uint8_t *payload, |
373 | unsigned int length) | 373 | unsigned int length) |
374 | { | 374 | { |
375 | if (length > MAX_CRYPTO_DATA_SIZE) { | ||
376 | LOGGER_WARNING("Size exceeds limit: %d", length); | ||
377 | return av_ErrorUnknown; | ||
378 | } | ||
379 | |||
380 | if (call->crtps[type - av_TypeAudio]) { | 375 | if (call->crtps[type - av_TypeAudio]) { |
381 | 376 | ||
382 | /* Audio */ | 377 | /* Audio */ |