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:
Ramiro Polla 2024-08-22 03:05:23 +02:00
parent 3d2fafa229
commit b6f7271fa9
1 changed files with 0 additions and 2 deletions

View File

@ -99,8 +99,6 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
const uint16_t *qmat, *bias;
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);
RENAME_FDCT(ff_fdct)(block); // cannot be anything else ...