Lines Matching defs:st
57 AVStream *st;
84 st = avformat_new_stream(s, NULL);
85 if (!st)
88 st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
89 st->codec->channels = channels;
90 st->codec->sample_rate = sample_rate;
92 st->codec->codec_id = ff_codec_get_id(tags, tag);
93 if (st->codec->codec_id == AV_CODEC_ID_NONE) {
98 st->codec->bits_per_coded_sample = av_get_bits_per_sample(st->codec->codec_id);
99 st->codec->block_align = st->codec->bits_per_coded_sample * st->codec->channels / 8;
100 avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);