Lines Matching refs:avf
76 AVFormatContext *avf; member
151 ret = avformat_alloc_output_context2(&seg->avf, seg->oformat, NULL, NULL); in segment_mux_init()
154 oc = seg->avf; in segment_mux_init()
198 AVFormatContext *oc = seg->avf; in set_segment_filename()
242 AVFormatContext *oc = seg->avf; in segment_start()
247 seg->avf = NULL; in segment_start()
250 oc = seg->avf; in segment_start()
357 AVFormatContext *oc = seg->avf; in segment_end()
418 seg->avf->url, seg->segment_count); in segment_end()
658 if (seg->avf) { in seg_free()
660 close_null_ctxp(&seg->avf->pb); in seg_free()
662 ff_format_io_close(s, &seg->avf->pb); in seg_free()
663 avformat_free_context(seg->avf); in seg_free()
664 seg->avf = NULL; in seg_free()
682 AVFormatContext *oc = seg->avf; in seg_init()
765 oc = seg->avf; in seg_init()
821 AVFormatContext *oc = seg->avf; in seg_write_header()
858 if (!seg->avf || !seg->avf->pb) in seg_write_packet()
938 seg->avf->url, pkt->stream_index, in seg_write_packet()
960 ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s, in seg_write_packet()
961 … seg->initial_offset || seg->reset_timestamps || seg->avf->oformat->interleave_packet); in seg_write_packet()
975 AVFormatContext *oc = seg->avf; in seg_write_trailer()
997 AVFormatContext *oc = seg->avf; in seg_check_bitstream()