[FFmpeg-devel] [PATCH 1/2] opus_parser: fix leaking channel_maps on error

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Dec 10 14:39:55 EET 2016


On 10.12.2016 04:19, Michael Niedermayer wrote:
> On Fri, Dec 09, 2016 at 11:42:59PM +0100, Andreas Cadhalpun wrote:
>>  opus.c    |    1 +
>>  opusdec.c |    1 -
>>  2 files changed, 1 insertion(+), 1 deletion(-)
>> 3e534ddbb39e05f8c7a5cfeba4b65ed587c3a519  0001-opus_parser-fix-leaking-channel_maps-on-error.patch
>> From 2edf5f9a571d483858928dd6bb9e84031ef8a391 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Fri, 9 Dec 2016 00:00:18 +0100
>> Subject: [PATCH 1/2] opus_parser: fix leaking channel_maps on error
>>
>> Make ff_opus_parse_extradata free allocated memory on error instead of
>> expecting callers to free it in that case.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavcodec/opus.c    | 1 +
>>  libavcodec/opusdec.c | 1 -
>>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list