mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-02 10:11:54 +00:00
fixing thread safety, this may cause alignment problms (if it does than the stuff should be moved to MpegEncContext)
Originally committed as revision 2124 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
36b58e850d
commit
f818862633
@ -38,7 +38,9 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
|
||||
{
|
||||
int level=0, last_non_zero_p1, q; //=0 is cuz gcc says uninitalized ...
|
||||
const uint16_t *qmat, *bias;
|
||||
static __align8 int16_t temp_block[64];
|
||||
__align8 int16_t temp_block[64];
|
||||
|
||||
assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?
|
||||
|
||||
//s->fdct (block);
|
||||
ff_fdct_mmx (block); //cant be anything else ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user