Lines Matching defs:st
83 AVStream *st;
100 st = avformat_new_stream(s, NULL);
101 if (!st)
103 st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
104 st->codec->codec_id = AV_CODEC_ID_ANM;
105 st->codec->codec_tag = 0; /* no fourcc */
106 st->codec->width = avio_rl16(pb);
107 st->codec->height = avio_rl16(pb);
130 st->nb_frames = avio_rl32(pb);
131 avpriv_set_pts_info(st, 64, 1, avio_rl16(pb));
135 st->codec->extradata_size = 16*8 + 4*256;
136 st->codec->extradata = av_mallocz(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
137 if (!st->codec->extradata) {
140 ret = avio_read(pb, st->codec->extradata, st->codec->extradata_size);