Cosmetic 64 instead 8*8
authorIvan Kalvachev <ikalvachev@gmail.com>
Sat, 14 Feb 2009 20:35:10 +0000 (20:35 +0000)
committerIvan Kalvachev <ikalvachev@gmail.com>
Sat, 14 Feb 2009 20:35:10 +0000 (20:35 +0000)
Originally committed as revision 17279 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo_xvmc.c

index cc22a26..5a6105a 100644 (file)
@@ -276,7 +276,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
             // copy blocks only if the codec doesn't support pblocks reordering
             if (s->avctx->xvmc_acceleration == 1) {
                 memcpy(&render->data_blocks[render->next_free_data_block_num*64],
-                       s->pblocks[i], sizeof(short)*8*8);
+                       s->pblocks[i], sizeof(short)*64);
             }
             render->next_free_data_block_num++;
         }