[FFmpeg-devel] [PATCH] libavfilter-soc: Clean up properly in the movie source
Martin Storsjö
martin
Thu May 7 11:07:12 CEST 2009
Hi Benoit,
On Wed, 6 May 2009, Benoit Fouet wrote:
> > + if(mv->pCodecCtx)
> > + avcodec_close(mv->pCodecCtx);
> > + if(mv->pFormatCtx)
> > + av_close_input_file(mv->pFormatCtx);
> > + if(mv->pFrame)
> > + av_freep(&mv->pFrame);
> >
>
> this if is unneeded.
Ok; updated patch attached.
// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavfilter-soc-movie-cleanup.patch
Type: text/x-diff
Size: 453 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090507/0cb27be0/attachment.patch>
More information about the ffmpeg-devel
mailing list