58
60
st->codec->sample_rate = AV_RL32(p + 36);
59
61
st->codec->channels = AV_RL32(p + 48);
70
68
st->codec->extradata_size = os->psize;
71
69
st->codec->extradata = av_malloc(st->codec->extradata_size
72
70
+ FF_INPUT_BUFFER_PADDING_SIZE);
73
71
memcpy(st->codec->extradata, p, st->codec->extradata_size);
75
av_set_pts_info(st, 64, 1, st->codec->sample_rate);
73
avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);
77
75
ff_vorbis_comment(s, &st->metadata, p, os->psize);