Removing sz member from vpx_codec_priv.

Change-Id: I811526a9ee9f237604f72abe7fc677e39e0f457f
This commit is contained in:
Dmitry Kovalev 2014-09-04 14:47:42 -07:00
parent 27db51c602
commit 91998e638e
5 changed files with 0 additions and 5 deletions

View File

@ -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)

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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 {