[FFmpeg-cvslog] avcodec/x86/vp8dsp: Fix cpu flag checks so they work
Michael Niedermayer
git at videolan.org
Fri Aug 30 12:48:17 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 30 12:32:54 2013 +0200| [c1913064e38cb338039f29c280a0dacc3fd1e451] | committer: Michael Niedermayer
avcodec/x86/vp8dsp: Fix cpu flag checks so they work
Broken by 6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c1913064e38cb338039f29c280a0dacc3fd1e451
---
libavcodec/x86/vp8dsp_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/vp8dsp_init.c b/libavcodec/x86/vp8dsp_init.c
index f5ad8bf..dca00f5 100644
--- a/libavcodec/x86/vp8dsp_init.c
+++ b/libavcodec/x86/vp8dsp_init.c
@@ -381,7 +381,7 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c)
c->put_vp8_bilinear_pixels_tab[0][0][0] = ff_put_vp8_pixels16_sse;
}
- if (EXTERNAL_SSE2(cpu_flags) && (cpu_flags & AV_CPU_FLAG_SSE2SLOW)) {
+ if (HAVE_SSE2_EXTERNAL && cpu_flags & (AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_SSE2SLOW)) {
VP8_LUMA_MC_FUNC(0, 16, sse2);
VP8_MC_FUNC(1, 8, sse2);
VP8_BILINEAR_MC_FUNC(0, 16, sse2);
More information about the ffmpeg-cvslog
mailing list