History

avcodec/mpeg12enc: increase declared size of block function argument

Fixes CID1047236 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer committed 12 years ago

Commit 2cf51431 parent d80e7ba1 file · +2 −2Browse files

Unified · Split

libavcodec/mpeg12enc.c+2−2
@@ -683,7 +683,7 @@ next_coef: · 682 unmodified lines
683683 }
684684
685685 static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
686− int16_t block[6][64],
686+ int16_t block[8][64],
687687 int motion_x, int motion_y,
688688 int mb_block_count)
689689 {
@@ -960,7 +960,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s, · 270 unmodified lines
960960 }
961961 }
962962
963−void ff_mpeg1_encode_mb(MpegEncContext *s, int16_t block[6][64],
963+void ff_mpeg1_encode_mb(MpegEncContext *s, int16_t block[8][64],
964964 int motion_x, int motion_y)
965965 {
966966 if (s->chroma_format == CHROMA_420)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t