Commit ae4b97a2 authored by Loren Merritt's avatar Loren Merritt

fix a memory alignment. (no effect on x86, but might be needed for other simd)



git-svn-id: svn://svn.videolan.org/x264/trunk@526 df754926-b1dd-0310-bc7b-ec298dee348c
parent c832ac1a
......@@ -196,7 +196,7 @@ int x264_slicetype_mb_cost( x264_t *h, x264_mb_analysis_t *a,
lowres_intra_mb:
{
uint8_t pix_buf[9*FDEC_STRIDE];
DECLARE_ALIGNED( uint8_t, pix_buf[9*FDEC_STRIDE], 8 );
uint8_t *pix = &pix_buf[8+FDEC_STRIDE - 1];
uint8_t *src = &fenc->lowres[0][i_pel_offset - 1];
int intra_penalty = 5 + 10 * b_bidir;
......
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