[FFmpeg-cvslog] r13800 - trunk/libavformat/mov.c
Luca Abeni
lucabe72
Wed Jun 18 11:12:25 CEST 2008
Hi Baptiste,
bcoudurier wrote:
> Author: bcoudurier
> Date: Wed Jun 18 10:30:50 2008
> New Revision: 13800
>
> Log:
> free private streamcontext when closing demuxer, fix memory leak, patch by Art Clarke, aclarke at vlideshow dot com
>
> Modified:
> trunk/libavformat/mov.c
>
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c (original)
> +++ trunk/libavformat/mov.c Wed Jun 18 10:30:50 2008
> @@ -1899,6 +1899,7 @@ static int mov_read_close(AVFormatContex
> av_freep(&sc->drefs);
> if (sc->pb && sc->pb != s->pb)
> url_fclose(sc->pb);
> + av_freep(&sc);
Maybe this is a stupid question, but... Isn't sc stored in the
AVStream priv_data? So, shouldn't it be freed by av_write_trailer()?
Or am I missing something?
Thanks,
Luca
More information about the ffmpeg-cvslog
mailing list