summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2013-11-01 12:06:46 +0200
committerMartin Storsjo <martin@martin.st>2013-11-01 12:11:30 +0200
commit164fc98be11cfdc61e91561fc3b16a5991a71744 (patch)
treee2c614a41e51cdee04aa9d37f818ae072fa4e703
parentc8002b04ff601920c30bded02d8341d298425188 (diff)
downloadODR-AudioEnc-164fc98be11cfdc61e91561fc3b16a5991a71744.tar.gz
ODR-AudioEnc-164fc98be11cfdc61e91561fc3b16a5991a71744.tar.bz2
ODR-AudioEnc-164fc98be11cfdc61e91561fc3b16a5991a71744.zip
Include the encoder library version in the publicly installed header
This allows callers to conditionally use new API features without breaking compatibility with the earlier versions of the library.
-rw-r--r--libAACenc/include/aacenc_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libAACenc/include/aacenc_lib.h b/libAACenc/include/aacenc_lib.h
index 8c0e1cd..307dfd4 100644
--- a/libAACenc/include/aacenc_lib.h
+++ b/libAACenc/include/aacenc_lib.h
@@ -705,6 +705,9 @@ the encoder deactivates PNS calculation internally.
#include "machine_type.h"
#include "FDK_audio.h"
+#define AACENCODER_LIB_VL0 3
+#define AACENCODER_LIB_VL1 4
+#define AACENCODER_LIB_VL2 12
/**
* AAC encoder error codes.