[FFmpeg-devel] [PATCH] lavfi/alphaextract: fix frame memleak.
Clément Bœsch
ubitux at gmail.com
Sun Mar 17 03:13:04 CET 2013
On Sun, Mar 17, 2013 at 03:06:13AM +0100, Michael Niedermayer wrote:
> On Sun, Mar 17, 2013 at 02:58:23AM +0100, Clément Bœsch wrote:
> > ---
> > libavfilter/vf_alphaextract.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/vf_alphaextract.c b/libavfilter/vf_alphaextract.c
> > index 8fff805..62ceecf 100644
> > --- a/libavfilter/vf_alphaextract.c
> > +++ b/libavfilter/vf_alphaextract.c
> > @@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf)
> > ret = ff_filter_frame(outlink, out_buf);
> >
> > end:
> > - av_frame_unref(cur_buf);
> > + av_frame_free(&cur_buf);
> > return ret;
> > }
>
> LGTM
>
Applied.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130317/2ff5d13d/attachment.asc>
More information about the ffmpeg-devel
mailing list