64
64
if (!(st = avformat_new_stream(s, NULL)))
66
66
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
68
68
st->need_parsing = AVSTREAM_PARSE_HEADERS;
69
69
avpriv_set_pts_info(st, 64, 1001, 30000);
71
71
if (!(st = avformat_new_stream(s, NULL)))
73
73
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
75
75
st->need_parsing = AVSTREAM_PARSE_HEADERS;
77
77
/* the parameters will be extracted from the compressed bitstream */