[FFmpeg-devel] [PATCH 2/3] avfilter/lavfutils: use av_frame_free for freeing an AVFrame
Clément Bœsch
u at pkh.me
Mon Mar 2 21:28:29 CET 2015
On Sat, Feb 28, 2015 at 11:07:23AM +0000, Paul B Mahol wrote:
> On 2/28/15, Clement Boesch <u at pkh.me> wrote:
> > ---
> > libavfilter/lavfutils.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
> > index 80310d2..75e68a7 100644
> > --- a/libavfilter/lavfutils.c
> > +++ b/libavfilter/lavfutils.c
> > @@ -96,7 +96,7 @@ end:
> > av_free_packet(&pkt);
> > avcodec_close(codec_ctx);
> > avformat_close_input(&format_ctx);
> > - av_freep(&frame);
> > + av_frame_free(&frame);
> >
> > if (ret < 0)
> > av_log(log_ctx, AV_LOG_ERROR, "Error loading image file '%s'\n",
> > filename);
> > --
> > 2.3.1
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
>
> ok
Applied, thanks
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150302/8fc3d5e4/attachment.asc>
More information about the ffmpeg-devel
mailing list