]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
fix mbd bits bug, finally
authorbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 26 May 2006 15:44:29 +0000 (15:44 +0000)
committerbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 26 May 2006 15:44:29 +0000 (15:44 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5411 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/mpegvideo.h

index 7fc90235bdda4739485e3c7c92e85a28e9d1b497..023e657004458fb3c979dd5054de9dcfecb44033 100644 (file)
@@ -699,7 +699,7 @@ typedef struct MpegEncContext {
     short * pblocks[12];
 
     DCTELEM (*block)[64]; ///< points to one of the following blocks
-    DCTELEM (*blocks)[6][64]; // for HQ mode we need to keep the best block
+    DCTELEM (*blocks)[8][64]; // for HQ mode we need to keep the best block
     int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch()
 #define SLICE_OK         0
 #define SLICE_ERROR     -1