Lines Matching refs:avf
276 static av_cold int tedcaptions_read_header(AVFormatContext *avf)
278 TEDCaptionsDemuxer *tc = avf->priv_data;
279 AVStream *st = avformat_new_stream(avf, NULL);
288 ret = parse_file(avf->pb, &tc->subs);
291 av_log(avf, AV_LOG_ERROR, "Syntax error near offset %"PRId64".\n",
292 avio_tell(avf->pb));
295 ff_subtitles_queue_finalize(avf, &tc->subs);
311 static int tedcaptions_read_packet(AVFormatContext *avf, AVPacket *packet)
313 TEDCaptionsDemuxer *tc = avf->priv_data;
318 static int tedcaptions_read_close(AVFormatContext *avf)
320 TEDCaptionsDemuxer *tc = avf->priv_data;
349 static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index,
353 TEDCaptionsDemuxer *tc = avf->priv_data;
354 return ff_subtitles_queue_seek(&tc->subs, avf, stream_index,