| Index: source/libvpx/vp9/encoder/vp9_context_tree.c
|
| ===================================================================
|
| --- source/libvpx/vp9/encoder/vp9_context_tree.c (revision 292072)
|
| +++ source/libvpx/vp9/encoder/vp9_context_tree.c (working copy)
|
| @@ -30,13 +30,13 @@
|
| for (i = 0; i < MAX_MB_PLANE; ++i) {
|
| for (k = 0; k < 3; ++k) {
|
| CHECK_MEM_ERROR(cm, ctx->coeff[i][k],
|
| - vpx_memalign(16, num_pix * sizeof(int16_t)));
|
| + vpx_memalign(16, num_pix * sizeof(*ctx->coeff[i][k])));
|
| CHECK_MEM_ERROR(cm, ctx->qcoeff[i][k],
|
| - vpx_memalign(16, num_pix * sizeof(int16_t)));
|
| + vpx_memalign(16, num_pix * sizeof(*ctx->qcoeff[i][k])));
|
| CHECK_MEM_ERROR(cm, ctx->dqcoeff[i][k],
|
| - vpx_memalign(16, num_pix * sizeof(int16_t)));
|
| + vpx_memalign(16, num_pix * sizeof(*ctx->dqcoeff[i][k])));
|
| CHECK_MEM_ERROR(cm, ctx->eobs[i][k],
|
| - vpx_memalign(16, num_pix * sizeof(uint16_t)));
|
| + vpx_memalign(16, num_pix * sizeof(*ctx->eobs[i][k])));
|
| ctx->coeff_pbuf[i][k] = ctx->coeff[i][k];
|
| ctx->qcoeff_pbuf[i][k] = ctx->qcoeff[i][k];
|
| ctx->dqcoeff_pbuf[i][k] = ctx->dqcoeff[i][k];
|
|
|