You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mpeg12enc: increase declared size of block function argument
CC: libav-stable@libav.org Bug-Id: CID 1047236 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
committed by
Vittorio Giovara
parent
52f954da75
commit
fe27aeaeab
@@ -658,7 +658,7 @@ next_coef:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
|
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 motion_x, int motion_y,
|
||||||
int mb_block_count)
|
int mb_block_count)
|
||||||
{
|
{
|
||||||
@@ -935,7 +935,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)
|
int motion_x, int motion_y)
|
||||||
{
|
{
|
||||||
if (s->chroma_format == CHROMA_420)
|
if (s->chroma_format == CHROMA_420)
|
||||||
|
@@ -837,7 +837,7 @@ extern const uint8_t * const ff_mpeg2_dc_scale_table[4];
|
|||||||
|
|
||||||
void ff_mpeg1_encode_picture_header(MpegEncContext *s, int picture_number);
|
void ff_mpeg1_encode_picture_header(MpegEncContext *s, int picture_number);
|
||||||
void ff_mpeg1_encode_mb(MpegEncContext *s,
|
void ff_mpeg1_encode_mb(MpegEncContext *s,
|
||||||
int16_t block[6][64],
|
int16_t block[8][64],
|
||||||
int motion_x, int motion_y);
|
int motion_x, int motion_y);
|
||||||
void ff_mpeg1_encode_init(MpegEncContext *s);
|
void ff_mpeg1_encode_init(MpegEncContext *s);
|
||||||
void ff_mpeg1_encode_slice_header(MpegEncContext *s);
|
void ff_mpeg1_encode_slice_header(MpegEncContext *s);
|
||||||
|
Reference in New Issue
Block a user