summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-04 09:37:01 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-11 11:26:02 +0100
commitf349f4b5502c94943c30001b8a4d75daded3281c (patch)
treeb500622570d2407000e40332162a7e60bbf724b1 /libavcodec/mpegvideo.h
parent898e9a24ef13d8c56b4abf4ee0af09cdb0343e2d (diff)
mpegvideo: fix size of array
CC: libav-stable@libav.org Bug-Id: CID 1238789
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index d9f3f0ec1d..63052a97f3 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