Fix h264 decoding on SSE2 cores with icc compilation.

Originally committed as revision 16373 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Carl Eugen Hoyos 16 years ago
parent 055068d001
commit 2c67c65963
  1. 2
      libavcodec/x86/dsputil_mmx.c

@ -2872,12 +2872,14 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
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

Loading…
Cancel
Save