x86: mpegvideoenc: fix linking with --disable-mmx
authorDiego Biurrun <diego@biurrun.de>
Tue, 28 Aug 2012 15:45:24 +0000 (17:45 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 28 Aug 2012 22:26:56 +0000 (00:26 +0200)
commit2f2aa2e5426d89762b3c156275d903419e9cf570
treed7b2e5b7b68f0ab9804e8f9c6e2c509a2bfa0d25
parentd39791bf398bedd842ed75260e9de6fcc64c6fe0
x86: mpegvideoenc: fix linking with --disable-mmx

The optimized dct_quantize template functions reference optimized
fdct symbols, so these functions must only be enabled if the relevant
optimizations have been enabled by configure.
libavcodec/x86/mpegvideoenc.c