[libav-commits] mpegvideo: fix size of array

Vittorio Giovara git at libav.org
Tue Nov 11 13:04:50 CET 2014


Module: libav
Branch: master
Commit: f349f4b5502c94943c30001b8a4d75daded3281c

Author:    Vittorio Giovara <vittorio.giovara at gmail.com>
Committer: Vittorio Giovara <vittorio.giovara at gmail.com>
Date:      Tue Nov  4 09:37:01 2014 -0500

mpegvideo: fix size of array

CC: libav-stable at libav.org
Bug-Id: CID 1238789

---

 libavcodec/mpegvideo.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index d9f3f0e..63052a9 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -600,7 +600,7 @@ typedef struct MpegEncContext {
     int16_t (*pblocks[12])[64];
 
     int16_t (*block)[64]; ///< points to one of the following blocks
-    int16_t (*blocks)[8][64]; // for HQ mode we need to keep the best block
+    int16_t (*blocks)[12][64]; // for HQ mode we need to keep the best block
     int (*decode_mb)(struct MpegEncContext *s, int16_t block[6][64]); // used by some codecs to avoid a switch()
 #define SLICE_OK         0
 #define SLICE_ERROR     -1



More information about the libav-commits mailing list