libfdk-aac: Consistently use a proper version check macro for detecting features
authorMartin Storsjö <martin@martin.st>
Tue, 4 Sep 2018 08:29:37 +0000 (11:29 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 5 Sep 2018 19:40:46 +0000 (22:40 +0300)
commitffb9b7a6bab6c6bfd3dd9a7c32e3724209824999
tree099adc4217cdca84cefd8667c3a44fbb7aa95568
parent642fd4769becc2f4827f8375a3d9e8edd2f5df77
libfdk-aac: Consistently use a proper version check macro for detecting features

The previous version checks checked explicitly for the version
where the version define was added to the installed headers,
making an "#ifdef AACDECODER_LIB_VL0" enough. Now that we have
a need for more diverse version checks than this, convert all checks
to such checks.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libfdk-aacdec.c
libavcodec/libfdk-aacenc.c