Fixes CID1047236 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Unified · Split
| @@ -683,7 +683,7 @@ next_coef: · 682 unmodified lines | |||
| 683 | } | 683 | } |
| 684 | 684 | ||
| 685 | static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s, | 685 | static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s, |
| 686 | int16_t block[6][64], | 686 | int16_t block[8][64], |
| 687 | int motion_x, int motion_y, | 687 | int motion_x, int motion_y, |
| 688 | int mb_block_count) | 688 | int mb_block_count) |
| 689 | { | 689 | { |
| @@ -960,7 +960,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s, · 270 unmodified lines | |||
| 960 | } | 960 | } |
| 961 | } | 961 | } |
| 962 | 962 | ||
| 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], |
| 964 | int motion_x, int motion_y) | 964 | int motion_x, int motion_y) |
| 965 | { | 965 | { |
| 966 | if (s->chroma_format == CHROMA_420) | 966 | if (s->chroma_format == CHROMA_420) |