65
66
memcpy(st->codec->extradata, streaminfo_start, FLAC_STREAMINFO_SIZE);
66
67
st->codec->extradata_size = FLAC_STREAMINFO_SIZE;
68
av_set_pts_info(st, 64, 1, st->codec->sample_rate);
69
avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);
69
70
} else if (mdt == FLAC_METADATA_TYPE_VORBIS_COMMENT) {
70
71
ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 4, os->psize - 4);