# HG changeset patch # User aurel # Date 1190748167 0 # Node ID 7577e30362901d4909584dc5d2fa1f3ab24973eb # Parent fbd55dbbf809ef99bcda529a9f0a126d13cf379c simplify diff -r fbd55dbbf809 -r 7577e3036290 vp56.c --- a/vp56.c Tue Sep 25 19:16:38 2007 +0000 +++ b/vp56.c Tue Sep 25 19:22:47 2007 +0000 @@ -578,8 +578,8 @@ s->left_block[block].ref_frame = -1; s->left_block[block].dc_coeff = 0; s->left_block[block].not_null_dc = 0; - memset(s->coeff_ctx[block], 0, 64*sizeof(s->coeff_ctx[block][0])); } + memset(s->coeff_ctx, 0, sizeof(s->coeff_ctx)); memset(s->coeff_ctx_last, 24, sizeof(s->coeff_ctx_last)); s->above_block_idx[0] = 1;