Commit a273e205 authored by michael's avatar michael

Dont use SSE2 SAD for snow as it requires more alignment than can be

easily provided.
Fixes issue315.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18404 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fa5e31d2
...@@ -455,7 +455,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx) ...@@ -455,7 +455,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx)
c->pix_abs[1][3] = sad8_xy2_mmx2; c->pix_abs[1][3] = sad8_xy2_mmx2;
} }
} }
if ((mm_flags & FF_MM_SSE2) && !(mm_flags & FF_MM_3DNOW)) { if ((mm_flags & FF_MM_SSE2) && !(mm_flags & FF_MM_3DNOW) && avctx->codec_id != CODEC_ID_SNOW) {
c->sad[0]= sad16_sse2; c->sad[0]= sad16_sse2;
} }
} }
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