OSDN Git Service

cosmetics: Change '8*8' to '64'.
authorDiego Biurrun <diego@biurrun.de>
Sat, 14 Feb 2009 21:50:46 +0000 (21:50 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 14 Feb 2009 21:50:46 +0000 (21:50 +0000)
Originally committed as revision 17285 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo_xvmc.c

index ba11cd7..432fc5e 100644 (file)
@@ -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;
             }