Commit e75d1d4f authored by Christophe GISQUET's avatar Christophe GISQUET Committed by Ronald S. Bultje
Browse files

dsputil x86: revert a test back to its previous value

Commit 356ee8d7

 caused the initial inversion.
Signed-off-by: default avatarRonald S. Bultje <>
parent fe5ed69d
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment