Commit 533a8b2a authored by Michael Niedermayer's avatar Michael Niedermayer

x86/mpegvideoenc_template: use av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8328df74
...@@ -100,7 +100,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, ...@@ -100,7 +100,7 @@ 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]);
assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly? av_assert2((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?
//s->fdct (block); //s->fdct (block);
RENAMEl(ff_fdct) (block); //cannot be anything else ... RENAMEl(ff_fdct) (block); //cannot be anything else ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment