aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-28 01:11:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-28 01:11:04 +0200
commit2cf514354bbeebb2334d00ab54c3fcb8ae2ee678 (patch)
treea1150ea841a50ebe020d773773366fb1f6bb3c86
parentd80e7ba9b7de592603cb94ae14e4fead73214e8f (diff)
downloadffmpeg-2cf514354bbeebb2334d00ab54c3fcb8ae2ee678.tar.gz
avcodec/mpeg12enc: increase declared size of block function argument
Fixes CID1047236 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mpeg12enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index a14a9f7f62..0b20304517 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -683,7 +683,7 @@ next_coef:
}
static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
- int16_t block[6][64],
+ int16_t block[8][64],
int motion_x, int motion_y,
int mb_block_count)
{
@@ -960,7 +960,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
}
}
-void ff_mpeg1_encode_mb(MpegEncContext *s, int16_t block[6][64],
+void ff_mpeg1_encode_mb(MpegEncContext *s, int16_t block[8][64],
int motion_x, int motion_y)
{
if (s->chroma_format == CHROMA_420)