Revision bcfa3e58 libavcodec/fft.c

View differences:

libavcodec/fft.c
54 54
        s->exptab[i].im = s1;
55 55
    }
56 56
    s->fft_calc = ff_fft_calc_c;
57
    s->imdct_calc = ff_imdct_calc;
57 58
    s->exptab1 = NULL;
58 59

  
59 60
    /* compute constant table for HAVE_SSE version */
......
62 63
        int has_vectors = 0;
63 64

  
64 65
#if defined(HAVE_MMX)
65
#ifdef HAVE_MM3DNOW
66 66
        has_vectors = mm_support() & (MM_3DNOW | MM_3DNOWEXT | MM_SSE | MM_SSE2);
67
#else
68
        has_vectors = mm_support() & (MM_SSE | MM_SSE2);
69
#endif
70 67
#endif
71 68
#if defined(HAVE_ALTIVEC) && !defined(ALTIVEC_USE_REFERENCE_C_CODE)
72 69
        has_vectors = mm_support() & MM_ALTIVEC;
......
98 95
            } while (nblocks != 0);
99 96
            av_freep(&s->exptab);
100 97
#if defined(HAVE_MMX)
98
            if (has_vectors & MM_3DNOWEXT)
99
                s->imdct_calc = ff_imdct_calc_3dn2;
101 100
#ifdef HAVE_MM3DNOW
102 101
            if (has_vectors & MM_3DNOWEXT)
103 102
                /* 3DNowEx for Athlon(XP) */

Also available in: Unified diff