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

Function write_frame

libavcodec/flacenc.c:1564–1571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562
1563
1564static int write_frame(FlacEncodeContext *s, AVPacket *avpkt)
1565{
1566 init_put_bits(&s->pb, avpkt->data, avpkt->size);
1567 write_frame_header(s);
1568 write_subframes(s);
1569 write_frame_footer(s);
1570 return put_bytes_output(&s->pb);
1571}
1572
1573
1574static int update_md5_sum(FlacEncodeContext *s, const void *samples)

Callers 1

flac_encode_frameFunction · 0.70

Calls 5

init_put_bitsFunction · 0.85
write_subframesFunction · 0.85
write_frame_footerFunction · 0.85
put_bytes_outputFunction · 0.85
write_frame_headerFunction · 0.70

Tested by

no test coverage detected