aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp56.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-09-25 19:22:47 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-09-25 19:22:47 +0000
commitd3f9edbafa7efd2685c5e49f151e2f8b813461c0 (patch)
treea7ed3596d3d1e205e822c76e1d241294a62326cd /libavcodec/vp56.c
parentf62a2b61f92584cb8d5135afbd80c0bd1212cee1 (diff)
downloadffmpeg-d3f9edbafa7efd2685c5e49f151e2f8b813461c0.tar.gz
simplify
Originally committed as revision 10576 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r--libavcodec/vp56.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index a90b9b68c5..7f28ed0f7a 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -578,8 +578,8 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
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;