summaryrefslogtreecommitdiff
path: root/libavcodec/fft-test.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-06-24 23:51:17 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-06-24 23:51:17 +0000
commitf67a10cd0c7fd9589e7fadfb8daeec8faba4cd39 (patch)
tree91d408a8901eec491f02e60dd4493d35fe10f9b5 /libavcodec/fft-test.c
parent8bf61f5ba9d0e1108281c5952e0f695a2bbacd4e (diff)
downloadffmpeg-f67a10cd0c7fd9589e7fadfb8daeec8faba4cd39.tar.gz
Define mm_flags/support to be 0 on architectures where they don't exist.
Make sure we don't try to set them if that's the case. This lets dct-test and fft-test build with --disable-mmx on x86, but not yet on ARM. Originally committed as revision 13957 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r--libavcodec/fft-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index 88aab487ae..55225fb1f2 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -186,7 +186,10 @@ int main(int argc, char **argv)
MDCTContext m1, *m = &m1;
int fft_nbits, fft_size;
+#ifndef mm_flags
mm_flags = 0;
+#endif
+
fft_nbits = 9;
for(;;) {
c = getopt(argc, argv, "hsimn:");