aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-12 23:53:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-12 23:57:00 +0200
commit620c6292b1a7cdaaa3e258c899b37e68954589b8 (patch)
treecce4c5fcb0a86343dcbb30c116e0b54dc6122309 /libavcodec/dct-test.c
parentf9c823df13f47d285ed0bd406906e138df4e8ae1 (diff)
parent0da29727eadcc4e1f1ed661d1db4caed6ceb17c9 (diff)
downloadandroid_external_ffmpeg-620c6292b1a7cdaaa3e258c899b37e68954589b8.tar.gz
android_external_ffmpeg-620c6292b1a7cdaaa3e258c899b37e68954589b8.tar.bz2
android_external_ffmpeg-620c6292b1a7cdaaa3e258c899b37e68954589b8.zip
Merge remote-tracking branch 'qatar/master'
* qatar/master: build: Fix Ogg demuxer dependencies build: Fix FLAC demuxer dependencies flac: Move flac functions shared between libraries to flac common code build: Fix CAF demuxer dependencies build: Fix MP2 muxer dependencies build: Add missing build rules for the ISMV muxer configure: Drop redundant mxf_d10 test dependency declaration Support AAC encoding via the external library fdk-aac libavcodec: Add more AAC profiles dct/fft-test: use a replacement getopt() if the system has none present. Conflicts: Changelog libavcodec/Makefile libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 9ea8f09914..37097aac58 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -25,10 +25,13 @@
* Started from sample code by Juan J. Sierralta P.
*/
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <math.h>
#include "libavutil/cpu.h"
@@ -519,6 +522,10 @@ static void help(void)
"-t speed test\n");
}
+#if !HAVE_GETOPT
+#include "compat/getopt.c"
+#endif
+
int main(int argc, char **argv)
{
int test_idct = 0, test_248_dct = 0;