Home
last modified time | relevance | path

Searched refs:chapter_pos (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Daadec.c78 int64_t largest_size = -1, current_size = -1, chapter_pos; in aa_read_header() local
224 while ((chapter_pos = avio_tell(pb)) >= 0 && chapter_pos < c->content_end) { in aa_read_header()
229 chapter_pos -= start + CHAPTER_HEADER_SIZE * chapter_idx; in aa_read_header()
232 chapter_pos * TIMEPREC, in aa_read_header()
233 (chapter_pos + chapter_size) * TIMEPREC, NULL)) { in aa_read_header()
328 int64_t chapter_pos, chapter_start, chapter_size; in aa_read_seek() local
349 chapter_pos = av_rescale_rnd((timestamp - ch->start) / TIMEPREC, in aa_read_seek()
353 if (chapter_pos >= chapter_size) in aa_read_seek()
354 chapter_pos = chapter_size; in aa_read_seek()
358 avio_seek(s->pb, chapter_start + chapter_pos, SEEK_SET); in aa_read_seek()
[all …]