[FFmpeg-cvslog] r10576 - trunk/libavcodec/vp56.c

aurel subversion
Tue Sep 25 21:22:48 CEST 2007


Author: aurel
Date: Tue Sep 25 21:22:47 2007
New Revision: 10576

Log:
simplify

Modified:
   trunk/libavcodec/vp56.c

Modified: trunk/libavcodec/vp56.c
==============================================================================
--- trunk/libavcodec/vp56.c	(original)
+++ trunk/libavcodec/vp56.c	Tue Sep 25 21:22:47 2007
@@ -578,8 +578,8 @@ int vp56_decode_frame(AVCodecContext *av
                 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;




More information about the ffmpeg-cvslog mailing list