MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / wtvfile_close

Function wtvfile_close

libavformat/wtvdec.c:310–317  ·  view source on GitHub ↗

* Close file opened with wtvfile_open_sector(), or wtv_open() */

Source from the content-addressed store, hash-verified

308 * Close file opened with wtvfile_open_sector(), or wtv_open()
309 */
310static void wtvfile_close(AVIOContext *pb)
311{
312 WtvFile *wf = pb->opaque;
313 av_freep(&wf->sectors);
314 av_freep(&pb->opaque);
315 av_freep(&pb->buffer);
316 avio_context_free(&pb);
317}
318
319/*
320 * Main demuxer

Callers 2

read_headerFunction · 0.85
read_closeFunction · 0.85

Calls 2

av_freepFunction · 0.85
avio_context_freeFunction · 0.85

Tested by

no test coverage detected