81
82
st->codec->height = bytestream_get_le32(&p);
82
83
st->codec->time_base.den = spu * 10000000;
83
84
st->codec->time_base.num = time_unit;
84
av_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den);
85
avpriv_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den);
86
87
st->codec->channels = bytestream_get_le16(&p);
87
88
p += 2; /* block_align */
88
89
st->codec->bit_rate = bytestream_get_le32(&p) * 8;
89
90
st->codec->sample_rate = spu * 10000000 / time_unit;
90
av_set_pts_info(st, 64, 1, st->codec->sample_rate);
91
avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);