[FFmpeg-devel] [PATCH 1/2] Fix leak in avfilter_graph_add_filter().

Stefano Sabatini stefano.sabatini-lala
Sun Apr 18 22:11:48 CEST 2010


On date Sunday 2010-04-18 02:08:23 +0200, Michael Niedermayer encoded:
> On Sun, Apr 11, 2010 at 11:26:16PM +0200, Stefano Sabatini wrote:
> > In case of reallocation failure the pointer to the original filter
> > array was lost. The correct behavior seems to just keep the old array
> > and count.
> > ---
> >  libavfilter/avfiltergraph.c |   10 +++++-----
> >  1 files changed, 5 insertions(+), 5 deletions(-)
> > 
> > diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
> > index 8fbbecf..75249e8 100644
> > --- a/libavfilter/avfiltergraph.c
> > +++ b/libavfilter/avfiltergraph.c
> 
> ok

Applied.
-- 
FFmpeg = Fascinating and Fundamentalist Multimedia Power Epic Goblin



More information about the ffmpeg-devel mailing list