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

Function tee_write_trailer

libavformat/tee.c:517–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517static int tee_write_trailer(AVFormatContext *avf)
518{
519 TeeContext *tee = avf->priv_data;
520 int ret_all = 0, ret;
521
522 for (unsigned i = 0; i < tee->nb_slaves; i++) {
523 if ((ret = close_slave(&tee->slaves[i])) < 0) {
524 ret = tee_process_slave_failure(avf, i, ret);
525 if (!ret_all && ret < 0)
526 ret_all = ret;
527 }
528 }
529 av_freep(&tee->slaves);
530 return ret_all;
531}
532
533static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt)
534{

Callers

nothing calls this directly

Calls 3

close_slaveFunction · 0.85
av_freepFunction · 0.85

Tested by

no test coverage detected