[FFmpeg-devel] [PATCH] lavfi/alphaextract: fix frame memleak.
Michael Niedermayer
michaelni at gmx.at
Sun Mar 17 03:06:13 CET 2013
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130317/9f1186c0/attachment.asc>
More information about the ffmpeg-devel
mailing list