Module: libav
Branch: master
Commit: f349f4b5502c94943c30001b8a4d75daded3281c

Author:    Vittorio Giovara <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Tue Nov  4 09:37:01 2014 -0500

mpegvideo: fix size of array

CC: [email protected]
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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to