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

Function webm_chunk_write_trailer

libavformat/webm_chunk.c:244–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static int webm_chunk_write_trailer(AVFormatContext *s)
245{
246 WebMChunkContext *wc = s->priv_data;
247 AVFormatContext *oc = wc->avf;
248 int ret;
249
250 if (!oc->pb) {
251 ret = chunk_start(s);
252 if (ret < 0)
253 return ret;
254 }
255 ret = av_write_trailer(oc);
256 if (ret < 0)
257 return ret;
258 return chunk_end(s, 0);
259}
260
261static void webm_chunk_deinit(AVFormatContext *s)
262{

Callers

nothing calls this directly

Calls 3

chunk_startFunction · 0.85
av_write_trailerFunction · 0.85
chunk_endFunction · 0.85

Tested by

no test coverage detected