diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-05 09:40:30 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-11 11:41:49 +0100 |
commit | db71c4926d948717ce3b74253eb385dc43dcb14d (patch) | |
tree | fc273aec4cf68c13bc40d3207264a0dc40efc565 | |
parent | f349f4b5502c94943c30001b8a4d75daded3281c (diff) | |
download | ffmpeg-db71c4926d948717ce3b74253eb385dc43dcb14d.tar.gz |
mjpegenc: fix argument size in encode_mb
CC: libav-stable@libav.org
Bug-Id: CID 1047235
-rw-r--r-- | libavcodec/mjpegenc.c | 2 | ||||
-rw-r--r-- | libavcodec/mjpegenc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 8ac5cfe87d..a460886a62 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -136,7 +136,7 @@ static void encode_block(MpegEncContext *s, int16_t *block, int n) put_bits(&s->pb, huff_size_ac[0], huff_code_ac[0]); } -void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[6][64]) +void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[8][64]) { int i; for(i=0;i<5;i++) { diff --git a/libavcodec/mjpegenc.h b/libavcodec/mjpegenc.h index 6054db1113..a4d684caf6 100644 --- a/libavcodec/mjpegenc.h +++ b/libavcodec/mjpegenc.h @@ -51,6 +51,6 @@ typedef struct MJpegContext { int ff_mjpeg_encode_init(MpegEncContext *s); void ff_mjpeg_encode_close(MpegEncContext *s); -void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[6][64]); +void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[8][64]); #endif /* AVCODEC_MJPEGENC_H */ |