Commit f349f4b5 authored by Vittorio Giovara's avatar Vittorio Giovara

mpegvideo: fix size of array

CC: libav-stable@libav.org
Bug-Id: CID 1238789
parent 898e9a24
...@@ -600,7 +600,7 @@ typedef struct MpegEncContext { ...@@ -600,7 +600,7 @@ typedef struct MpegEncContext {
int16_t (*pblocks[12])[64]; int16_t (*pblocks[12])[64];
int16_t (*block)[64]; ///< points to one of the following blocks 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() 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_OK 0
#define SLICE_ERROR -1 #define SLICE_ERROR -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment