fail:
opus_multistream_encoder_destroy(enc);
- av_freep(&avctx->extradata);
return ret;
}
ff_af_queue_close(&opus->afq);
av_freep(&opus->samples);
- av_freep(&avctx->extradata);
return 0;
}
48000, 24000, 16000, 12000, 8000, 0,
};
-AVCodec ff_libopus_encoder = {
+const AVCodec ff_libopus_encoder = {
.name = "libopus",
.long_name = NULL_IF_CONFIG_SMALL("libopus Opus"),
.type = AVMEDIA_TYPE_AUDIO,