diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-26 20:39:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-26 20:39:22 +0200 |
commit | fcaf5fa2ea3871a8f126f40801ab240faad668a5 (patch) | |
tree | 57c73a1e2f9cd9f457be41739036d46d8fc74a4a /libavcodec | |
parent | ffdbec6fc932702e274c756025a8ea7c29644b5f (diff) | |
download | ffmpeg-fcaf5fa2ea3871a8f126f40801ab240faad668a5.tar.gz |
avcodec/fft-test: put ff_dct* code under CONFIG_DCT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fft-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index 9831b2cf25..eee8cb2631 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -334,6 +334,7 @@ int main(int argc, char **argv) ff_rdft_init(r, fft_nbits, do_inverse ? IDFT_C2R : DFT_R2C); fft_ref_init(fft_nbits, do_inverse); break; +# if CONFIG_DCT case TRANSFORM_DCT: if (do_inverse) av_log(NULL, AV_LOG_INFO,"DCT_III"); @@ -341,6 +342,7 @@ int main(int argc, char **argv) av_log(NULL, AV_LOG_INFO,"DCT_II"); ff_dct_init(d, fft_nbits, do_inverse ? DCT_III : DCT_II); break; +# endif #endif default: av_log(NULL, AV_LOG_ERROR, "Requested transform not supported\n"); @@ -483,9 +485,11 @@ int main(int argc, char **argv) case TRANSFORM_RDFT: ff_rdft_end(r); break; +# if CONFIG_DCT case TRANSFORM_DCT: ff_dct_end(d); break; +# endif #endif } |