mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
x86/mpegvideoenc_template: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8328df74f3
commit
533a8b2a7d
@ -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 ...
|
||||||
|
Loading…
Reference in New Issue
Block a user