Skip to content
Snippets Groups Projects
Commit f8188626 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

fixing thread safety, this may cause alignment problms (if it does than the...

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
parent 36b58e85
No related branches found
No related tags found
No related merge requests found
......@@ -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 ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment