aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/include
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2013-11-01 12:06:46 +0200
committerJean-Michel Trivi <jmtrivi@google.com>2022-12-01 21:48:47 +0000
commit32c697660d9d4d525133322f9d061d42a43e1756 (patch)
tree4164a8d0b088bea14acfd5d81567fe8e8af29663 /libAACenc/include
parent2032bc891fac0106f57b609bf258de6ccff1f611 (diff)
downloadfdk-aac-32c697660d9d4d525133322f9d061d42a43e1756.tar.gz
fdk-aac-32c697660d9d4d525133322f9d061d42a43e1756.tar.bz2
fdk-aac-32c697660d9d4d525133322f9d061d42a43e1756.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. Bug: 261048742 Test: atest android.media.encoder.cts.EncoderTest Change-Id: Icdf18317e120caf8be750a839ae75a6ac8eba142
Diffstat (limited to 'libAACenc/include')
-rw-r--r--libAACenc/include/aacenc_lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libAACenc/include/aacenc_lib.h b/libAACenc/include/aacenc_lib.h
index f0f23b4..22c07c0 100644
--- a/libAACenc/include/aacenc_lib.h
+++ b/libAACenc/include/aacenc_lib.h
@@ -1005,6 +1005,10 @@ 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.
*/