[FFmpeg-cvslog] r17285 - trunk/libavcodec/mpegvideo_xvmc.c

diego subversion
Sat Feb 14 22:50:46 CET 2009


Author: diego
Date: Sat Feb 14 22:50:46 2009
New Revision: 17285

Log:
cosmetics: Change '8*8' to '64'.

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 22:49:48 2009	(r17284)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 22:50:46 2009	(r17285)
@@ -254,7 +254,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s
     if (s->flags & CODEC_FLAG_GRAY) {
         if (s->mb_intra) {                                   // intra frames are always full chroma blocks
             for (i = 4; i < blocks_per_mb; i++) {
-                memset(s->pblocks[i], 0, sizeof(short)*8*8); // so we need to clear them
+                memset(s->pblocks[i], 0, sizeof(short)*64);  // so we need to clear them
                 if (!render->unsigned_intra)
                     s->pblocks[i][0] = 1 << 10;
             }




More information about the ffmpeg-cvslog mailing list