585
583
int64_t *pos_arg, int64_t pos_limit)
587
585
struct ogg *ogg = s->priv_data;
590
587
int64_t pts = AV_NOPTS_VALUE;
592
589
avio_seek(bc, *pos_arg, SEEK_SET);
595
592
while (avio_tell(bc) < pos_limit && !ogg_packet(s, &i, NULL, NULL, pos_arg)) {
597
595
pts = ogg_calc_pts(s, i, NULL);
598
596
if (os->keyframe_seek && !(os->pflags & AV_PKT_FLAG_KEY))