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

Function chunk_start

libavformat/webm_chunk.c:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static int chunk_start(AVFormatContext *s)
162{
163 WebMChunkContext *wc = s->priv_data;
164 AVFormatContext *oc = wc->avf;
165 int ret;
166
167 ret = avio_open_dyn_buf(&oc->pb);
168 if (ret < 0)
169 return ret;
170 wc->chunk_index++;
171 return 0;
172}
173
174static int chunk_end(AVFormatContext *s, int flush)
175{

Callers 2

webm_chunk_write_packetFunction · 0.85
webm_chunk_write_trailerFunction · 0.85

Calls 1

avio_open_dyn_bufFunction · 0.85

Tested by

no test coverage detected