From 1302981d55c0929f235980cda865d4067eb75dff Mon Sep 17 00:00:00 2001 From: irungentoo Date: Wed, 4 Feb 2015 20:54:08 -0500 Subject: Removed useless misleading define. --- toxav/codec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'toxav/codec.c') diff --git a/toxav/codec.c b/toxav/codec.c index dae35d54..e7b952b1 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -40,7 +40,6 @@ #include "codec.h" /* Good quality encode. */ -#define MAX_ENCODE_TIME_US VPX_DL_GOOD_QUALITY #define MAX_DECODE_TIME_US 0 // TODO this has to be exchanged in msi -- cgit v1.2.3 From 01b4ad7a8a6e872d6f43e3922742d34511f60135 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 6 Feb 2015 15:16:07 -0500 Subject: Fixed memory leak. --- toxav/codec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'toxav/codec.c') diff --git a/toxav/codec.c b/toxav/codec.c index e7b952b1..de802526 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -587,6 +587,7 @@ void cs_kill(CSSession *cs) jbuf_free(cs->j_buf); buffer_free(cs->vbuf_raw); free(cs->frame_buf); + free(cs->split_video_frame); LOGGER_DEBUG("Terminated codec state: %p", cs); free(cs); -- cgit v1.2.3