Lines Matching refs:idx
252 static void vorbis_cleanup(AVFormatContext *s, int idx)
255 struct ogg_stream *os = ogg->streams + idx;
265 static int vorbis_update_metadata(AVFormatContext *s, int idx)
268 struct ogg_stream *os = ogg->streams + idx;
269 AVStream *st = s->streams[idx];
295 static int vorbis_header(AVFormatContext *s, int idx)
298 AVStream *st = s->streams[idx];
299 struct ogg_stream *os = ogg->streams + idx;
370 if (vorbis_update_metadata(s, idx) >= 0 && priv->len[1] > 10) {
409 static int vorbis_packet(AVFormatContext *s, int idx)
412 struct ogg_stream *os = ogg->streams + idx;
436 vorbis_update_metadata(s, idx);
448 vorbis_update_metadata(s, idx);
462 if (s->streams[idx]->start_time == AV_NOPTS_VALUE) {
463 s->streams[idx]->start_time = FFMAX(os->lastpts, 0);
464 if (s->streams[idx]->duration != AV_NOPTS_VALUE)
465 s->streams[idx]->duration -= s->streams[idx]->start_time;
478 vorbis_update_metadata(s, idx);