changeset 5716:7577e3036290 libavcodec

simplify
author aurel
date Tue, 25 Sep 2007 19:22:47 +0000
parents fbd55dbbf809
children c5ec68f922d8
files vp56.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;