diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index fc8c4078f59460d093c719032863c5c3d98e6cf9..b1b079cb26058f4b3f21edce611dc216bcf11ed0 100644 --- a/vp8/vp8_cx_iface.c +++ b/vp8/vp8_cx_iface.c @@ -635,7 +635,6 @@ static vpx_codec_err_t vp8e_init(vpx_codec_ctx_t *ctx, } ctx->priv = (vpx_codec_priv_t *)priv; - ctx->priv->sz = sizeof(*priv); ctx->priv->init_flags = ctx->init_flags; if (ctx->config.enc) diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index 6d9ecc0c898df3cc78203410e779b8292eeae4d8..3ab8ed0ad69b3c87e5c909fba3c3d7765d1b322a 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -84,7 +84,6 @@ static void vp8_init_ctx(vpx_codec_ctx_t *ctx) (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); diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 26db30cd8b5e90c3c096218093dbc7ffed8affa0..7007e3f7d383146692d34382d36fbce96e89ede5 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -670,7 +670,6 @@ static vpx_codec_err_t encoder_init(vpx_codec_ctx_t *ctx, 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; diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index b0fb2825337ae716d3e56502f6a13ffe44019c1f..393c66ebdad2b39a68597fe773451acf9ffa84d0 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -63,7 +63,6 @@ static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx, 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); diff --git a/vpx/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h index 02f20791a4ab138e8b80d530d82778e646da158e..cbfffd0af2ab5b1fe46f86440b3fe9ab64afbc66 100644 --- a/vpx/internal/vpx_codec_internal.h +++ b/vpx/internal/vpx_codec_internal.h @@ -335,7 +335,6 @@ typedef struct vpx_codec_priv_cb_pair { * 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 {