Lines Matching refs:vst
291 AVStream *vst = avformat_new_stream(s, NULL); in xmv_process_packet_header() local
292 if (!vst) in xmv_process_packet_header()
295 avpriv_set_pts_info(vst, 32, 1, 1000); in xmv_process_packet_header()
297 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in xmv_process_packet_header()
298 vst->codecpar->codec_id = AV_CODEC_ID_WMV2; in xmv_process_packet_header()
299 vst->codecpar->codec_tag = MKBETAG('W', 'M', 'V', '2'); in xmv_process_packet_header()
300 vst->codecpar->width = xmv->video_width; in xmv_process_packet_header()
301 vst->codecpar->height = xmv->video_height; in xmv_process_packet_header()
303 vst->duration = xmv->video_duration; in xmv_process_packet_header()
305 xmv->video.stream_index = vst->index; in xmv_process_packet_header()
395 AVStream *vst = s->streams[xmv->video.stream_index]; in xmv_process_packet_header() local
399 if (vst->codecpar->extradata_size < 4) { in xmv_process_packet_header()
400 if ((ret = ff_alloc_extradata(vst->codecpar, 4)) < 0) in xmv_process_packet_header()
404 memcpy(vst->codecpar->extradata, xmv->video.extradata, 4); in xmv_process_packet_header()