You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
Originally committed as revision 21164 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -533,8 +533,8 @@ static int dv_decode_video_segment(AVCodecContext *avctx, void *arg)
|
|||||||
GetBitContext gb;
|
GetBitContext gb;
|
||||||
BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1;
|
BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1;
|
||||||
DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]);
|
DECLARE_ALIGNED_16(DCTELEM, sblock[5*DV_MAX_BPM][64]);
|
||||||
uint8_t mb_bit_buffer[80 + 4]; /* allow some slack */
|
DECLARE_ALIGNED_16(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */
|
||||||
uint8_t vs_bit_buffer[5 * 80 + 4]; /* allow some slack */
|
DECLARE_ALIGNED_16(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */
|
||||||
const int log2_blocksize = 3-s->avctx->lowres;
|
const int log2_blocksize = 3-s->avctx->lowres;
|
||||||
int is_field_mode[5];
|
int is_field_mode[5];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user