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

Function write_header

libavformat/segafilmenc.c:162–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162static int write_header(AVFormatContext *format_context, uint8_t *header,
163 unsigned header_size)
164{
165 int ret = ff_format_shift_data(format_context, 0, header_size);
166 if (ret < 0)
167 return ret;
168
169 avio_seek(format_context->pb, 0, SEEK_SET);
170 avio_write(format_context->pb, header, header_size);
171
172 return 0;
173}
174
175static int film_write_header(AVFormatContext *format_context)
176{

Callers 1

film_write_headerFunction · 0.70

Calls 3

ff_format_shift_dataFunction · 0.85
avio_seekFunction · 0.85
avio_writeFunction · 0.85

Tested by

no test coverage detected