#include "opus_celt.h"
#include "opustab.h"
+#include "internal.h"
#include "vorbis.h"
static const uint16_t opus_frame_duration[32] = {
}
avctx->delay = AV_RL16(extradata + 10);
+ if (avctx->internal)
+ avctx->internal->skip_samples = avctx->delay;
channels = avctx->extradata ? extradata[9] : (avctx->channels == 1) ? 1 : 2;
if (!channels) {
}
/* Allocation trim */
+ if (!encode)
+ f->alloc_trim = 5;
if (opus_rc_tell_frac(rc) + (6 << 3) <= tbits_8ths)
if (encode)
ff_opus_rc_enc_cdf(rc, f->alloc_trim, ff_celt_model_alloc_trim);