Lines Matching refs:avf
77 AVFormatContext *avf;
84 int is_nullctx; ///< whether avf->pb is a nullctx
152 ret = avformat_alloc_output_context2(&seg->avf, seg->oformat, NULL, NULL);
155 oc = seg->avf;
191 AVFormatContext *oc = seg->avf;
235 AVFormatContext *oc = seg->avf;
240 seg->avf = NULL;
243 oc = seg->avf;
350 AVFormatContext *oc = seg->avf;
411 seg->avf->url, seg->segment_count);
651 if (seg->avf) {
653 close_null_ctxp(&seg->avf->pb);
655 ff_format_io_close(s, &seg->avf->pb);
656 avformat_free_context(seg->avf);
657 seg->avf = NULL;
675 AVFormatContext *oc = seg->avf;
758 oc = seg->avf;
814 AVFormatContext *oc = seg->avf;
851 if (!seg->avf || !seg->avf->pb)
931 seg->avf->url, pkt->stream_index,
953 ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s,
954 seg->initial_offset || seg->reset_timestamps || seg->avf->oformat->interleave_packet);
970 AVFormatContext *oc = seg->avf;
993 AVFormatContext *oc = seg->avf;