Lines Matching refs:sid
600 static AVStream * new_stream(AVFormatContext *s, AVStream *st, int sid, int codec_type)
616 st->id = sid;
634 static AVStream * parse_media_type(AVFormatContext *s, AVStream *st, int sid,
658 st = parse_media_type(s, st, sid, mediatype, actual_subtype, actual_formattype, size - 32);
662 st = new_stream(s, st, sid, AVMEDIA_TYPE_AUDIO);
689 st = new_stream(s, st, sid, AVMEDIA_TYPE_VIDEO);
715 st = new_stream(s, st, sid, AVMEDIA_TYPE_SUBTITLE);
725 st = new_stream(s, st, sid, AVMEDIA_TYPE_SUBTITLE);
786 int len, sid, consumed;
799 sid = avio_rl32(pb) & 0x7FFF;
804 if (ff_find_stream_index(s, sid) < 0) {
815 parse_media_type(s, 0, sid, mediatype, subtype, formattype, size);
819 int stream_index = ff_find_stream_index(s, sid);
831 parse_media_type(s, s->streams[stream_index], sid, mediatype, subtype, formattype, size);
840 int stream_index = ff_find_stream_index(s, sid);
861 int stream_index = ff_find_stream_index(s, sid);
874 int stream_index = ff_find_stream_index(s, sid);
882 int stream_index = ff_find_stream_index(s, sid);
897 int stream_index = ff_find_stream_index(s, sid);
915 int stream_index = ff_find_stream_index(s, sid);
925 int stream_index = ff_find_stream_index(s, sid);