[FFmpeg-devel] [PATCH] libavfilter-soc: Clean up properly in the movie source

Vitor Sessak vitor1001
Fri May 8 11:59:50 CEST 2009


Martin Storsj? wrote:
> 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.

Applied.

-Vitor



More information about the ffmpeg-devel mailing list