avio_wb32(pb, 0);
ffio_wfourcc(pb, "vpcC");
- avio_wb32(pb, 0); /* version & flags */
+ avio_w8(pb, 1); /* version */
+ avio_wb24(pb, 0); /* flags */
ff_isom_write_vpcc(s, pb, track->par);
return update_size(pb, pos);
}
av_log(s, AV_LOG_ERROR, "VP9 only supported in MP4.\n");
return AVERROR(EINVAL);
}
- if (s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
- av_log(s, AV_LOG_ERROR,
- "VP9 in MP4 support is experimental, add "
- "'-strict %d' if you want to use it.\n",
- FF_COMPLIANCE_EXPERIMENTAL);
- return AVERROR_EXPERIMENTAL;
- }
}
} else if (st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) {
track->timescale = st->codecpar->sample_rate;