mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-18 12:56:56 +00:00
avcodec/x86/mpegvideoenc: remove av_assert2() for variable alignment
It's safe to assume that LOCAL_ALIGNED_16 does indeed align. Otherwise
we would have many more problems...
This assert was added in f8188626
all the way back in 2003.
This commit is contained in:
parent
3d2fafa229
commit
b6f7271fa9
@ -99,8 +99,6 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
|
|||||||
const uint16_t *qmat, *bias;
|
const uint16_t *qmat, *bias;
|
||||||
LOCAL_ALIGNED_16(int16_t, temp_block, [64]);
|
LOCAL_ALIGNED_16(int16_t, temp_block, [64]);
|
||||||
|
|
||||||
av_assert2((7&(uintptr_t)(&temp_block[0])) == 0); //did gcc align it correctly?
|
|
||||||
|
|
||||||
//s->fdct (block);
|
//s->fdct (block);
|
||||||
RENAME_FDCT(ff_fdct)(block); // cannot be anything else ...
|
RENAME_FDCT(ff_fdct)(block); // cannot be anything else ...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user