]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/wtvdec.c
avformat/dash:add copyright to dash.c
[ffmpeg] / libavformat / wtvdec.c
index 3ac45013066b6309eb6f812d8bcc6a2b2acfa73b..27be5c9c04d90031084958544f8c72bb10b30587 100644 (file)
@@ -305,7 +305,7 @@ static void wtvfile_close(AVIOContext *pb)
     av_freep(&wf->sectors);
     av_freep(&pb->opaque);
     av_freep(&pb->buffer);
-    av_free(pb);
+    avio_context_free(&pb);
 }
 
 /*