Mercurial > libavcodec.hg
changeset 8499:c45cc4e913dd libavcodec
Fix h264 decoding on SSE2 cores with icc compilation.
author | cehoyos |
---|---|
date | Sun, 28 Dec 2008 19:40:13 +0000 |
parents | 2c7e8fe5fc6a |
children | 2c3d8a3d902c |
files | x86/dsputil_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/x86/dsputil_mmx.c Sat Dec 27 23:12:00 2008 +0000 +++ b/x86/dsputil_mmx.c Sun Dec 28 19:40:13 2008 +0000 @@ -2872,12 +2872,14 @@ c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_mmxext; c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_mmxext; #endif +#if defined(ARCH_X86_64) || !defined(__ICC) || __ICC > 1100 if( mm_flags&FF_MM_SSE2 ){ c->h264_v_loop_filter_luma = ff_x264_deblock_v_luma_sse2; c->h264_h_loop_filter_luma = ff_x264_deblock_h_luma_sse2; c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2; c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2; } +#endif } #endif