]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/fft-test.c
mpegvideo_enc: do not modify the input frame.
[ffmpeg] / libavcodec / fft-test.c
index 75941a1071540a1e525866d7d6a6fea5e4dec3a8..1e4675019ca5c3785a03cb3d50197f2d4e371adb 100644 (file)
@@ -34,7 +34,9 @@
 #include "rdft.h"
 #endif
 #include <math.h>
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 
@@ -229,6 +231,10 @@ enum tf_transform {
     TRANSFORM_DCT,
 };
 
+#if !HAVE_GETOPT
+#include "compat/getopt.c"
+#endif
+
 int main(int argc, char **argv)
 {
     FFTComplex *tab, *tab1, *tab_ref;