diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-16 23:05:04 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-02-17 12:03:25 +0100 |
commit | 8837f4396a1a458a0efb07fe7daba7b847755a7a (patch) | |
tree | 47ba240be28c9ec84cdc8fcd96a6e2c8820d5e79 | |
parent | e6bda9a9fd86505927a2e095e495eae104860701 (diff) | |
download | ffmpeg-8837f4396a1a458a0efb07fe7daba7b847755a7a.tar.gz |
libopencore-amrwb: Make AMR-WB ifdeffery more precise
The library might provide an encoder in the future, so it's better to
check for the presence of the decoder rather than just the library.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavcodec/libopencore-amr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 2a06e3ed68..d3bd7431f5 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -309,7 +309,7 @@ AVCodec ff_libopencore_amrnb_encoder = { #endif /* CONFIG_LIBOPENCORE_AMRNB */ /* -----------AMR wideband ------------*/ -#if CONFIG_LIBOPENCORE_AMRWB +#if CONFIG_LIBOPENCORE_AMRWB_DECODER #include <opencore-amrwb/dec_if.h> #include <opencore-amrwb/if_rom.h> @@ -385,4 +385,4 @@ AVCodec ff_libopencore_amrwb_decoder = { .long_name = NULL_IF_CONFIG_SMALL("OpenCORE AMR-WB (Adaptive Multi-Rate Wide-Band)"), }; -#endif /* CONFIG_LIBOPENCORE_AMRWB */ +#endif /* CONFIG_LIBOPENCORE_AMRWB_DECODER */ |