[FFmpeg-devel] [PATCH] lavc/vorbisdec: Allow avcodec_open2 to call .close

Michael Niedermayer michael at niedermayer.cc
Wed Mar 7 20:50:49 EET 2018


On Mon, Mar 05, 2018 at 04:43:56PM -0800, Matthew Wolenetz wrote:
> 

>  vorbisdec.c |    1 +
>  1 file changed, 1 insertion(+)
> ade25a35093139e9555c2a6563e950e31c150697  0001-lavc-vorbisdec-Allow-avcodec_open2-to-call-.close.patch
> From 7471c1d223b860c13793abfd93174d1557f77d6f Mon Sep 17 00:00:00 2001
> From: Matt Wolenetz <wolenetz at chromium.org>
> Date: Mon, 5 Mar 2018 15:59:18 -0800
> Subject: [PATCH] lavc/vorbisdec: Allow avcodec_open2 to call .close
> 
> If there is a decoder initialization failure detected in avcodec_open2
> after .init is called, allow graceful decoder .close to prevent leaking
> vorbis decoder allocations such as those from vorbis_parse_setup_*.
> 
> BUG=772699
> ---
>  libavcodec/vorbisdec.c | 1 +
>  1 file changed, 1 insertion(+)

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship: All citizens are under surveillance, all their steps and
actions recorded, for the politicians to enforce control.
Democracy: All politicians are under surveillance, all their steps and
actions recorded, for the citizens to enforce control.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180307/569f077a/attachment.sig>


More information about the ffmpeg-devel mailing list