aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorChristophe GISQUET <christophe.gisquet@gmail.com>2012-03-28 23:22:22 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2012-04-28 11:00:51 -0700
commite75d1d4f7321b097f4b09799bf28a22ad259fea6 (patch)
treeff98f12b01f0c5c4995b572814800b4df351ed38 /libavcodec
parentfe5ed69dc7f6acf6928c27d614f2be3fc89ed176 (diff)
downloadffmpeg-e75d1d4f7321b097f4b09799bf28a22ad259fea6.tar.gz
dsputil x86: revert a test back to its previous value
Commit 356ee8d caused the initial inversion. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index 89be32840d..3ef19c5d13 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -2961,7 +2961,7 @@ static void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx,
const int bit_depth = avctx->bits_per_raw_sample;
const int high_bit_depth = bit_depth > 8;
- if (mm_flags & AV_CPU_FLAG_3DNOW) {
+ if (!(mm_flags & AV_CPU_FLAG_SSE2SLOW)) {
// these functions are slower than mmx on AMD, but faster on Intel
if (!high_bit_depth) {
c->put_pixels_tab[0][0] = put_pixels16_sse2;