}
ctx->priv = (vpx_codec_priv_t *)priv;
- ctx->priv->sz = sizeof(*priv);
ctx->priv->init_flags = ctx->init_flags;
if (ctx->config.enc)
(vpx_codec_alg_priv_t *)vpx_calloc(1, sizeof(*priv));
ctx->priv = (vpx_codec_priv_t *)priv;
- ctx->priv->sz = sizeof(*priv);
ctx->priv->init_flags = ctx->init_flags;
priv->si.sz = sizeof(priv->si);
return VPX_CODEC_MEM_ERROR;
ctx->priv = (vpx_codec_priv_t *)priv;
- ctx->priv->sz = sizeof(*priv);
ctx->priv->init_flags = ctx->init_flags;
ctx->priv->enc.total_encoders = 1;
return VPX_CODEC_MEM_ERROR;
ctx->priv = (vpx_codec_priv_t *)priv;
- ctx->priv->sz = sizeof(*priv);
ctx->priv->init_flags = ctx->init_flags;
priv->si.sz = sizeof(priv->si);
* and the pointer cast to the proper type.
*/
struct vpx_codec_priv {
- unsigned int sz;
const char *err_detail;
vpx_codec_flags_t init_flags;
struct {