提交 f8188626 编写于 作者: M Michael Niedermayer

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
上级 36b58e85
......@@ -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 ...
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册