[FFmpeg-cvslog] mpegvideo: fix size of array

Vittorio Giovara git at videolan.org
Tue Nov 11 21:32:40 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Nov  4 09:37:01 2014 -0500| [f349f4b5502c94943c30001b8a4d75daded3281c] | committer: Vittorio Giovara

mpegvideo: fix size of array

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f349f4b5502c94943c30001b8a4d75daded3281c
---

 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 ffmpeg-cvslog mailing list