Commit 6cb4899e authored by bcoudurier's avatar bcoudurier

free private streamcontext when closing demuxer, fix memory leak, patch by Art...

free private streamcontext when closing demuxer, fix memory leak, patch by Art Clarke, aclarke at vlideshow dot com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13800 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 68ed550c
......@@ -1899,6 +1899,7 @@ static int mov_read_close(AVFormatContext *s)
av_freep(&sc->drefs);
if (sc->pb && sc->pb != s->pb)
url_fclose(sc->pb);
av_freep(&sc);
}
if(mov->dv_demux){
for(i=0; i<mov->dv_fctx->nb_streams; i++){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment