Do not use SSE2 SAD for snow as it requires more alignment than can be
easily provided. Fixes issue315. Originally committed as revision 18404 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2b12317a90
commit
cfe675269b
@ -455,7 +455,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user