[SCM] libav/experimental: cosmetics: Change '8*8' to '64'.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:38:15 UTC 2013


The following commit has been merged in the experimental branch:
commit 6e4b41f8808035ade0bc01c88bfa85bcc582278f
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sat Feb 14 21:50:46 2009 +0000

    cosmetics: Change '8*8' to '64'.
    
    Originally committed as revision 17285 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index ba11cd7..432fc5e 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -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;
             }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list