From a34fbd23e99bc149f195888c6656c61e7274c7c9 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 8 Mar 2018 20:44:31 +0100 Subject: [PATCH] Do not leak the packet data Oops! The content of the packets were never freed. --- app/src/decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/decoder.c b/app/src/decoder.c index da1408de..6faaa830 100644 --- a/app/src/decoder.c +++ b/app/src/decoder.c @@ -123,6 +123,7 @@ static int run_decoder(void *data) { packet.data += len; } #endif + av_packet_unref(&packet); } LOGD("End of frames");