Skip to content

Commit e491f1b

Browse files
feat: update fdk-aac to 2.0.3-1
1 parent 417753e commit e491f1b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2206
-935
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*.o
22
*.lo
33
*.la
4+
*~
45
.deps
56
.libs
67
.dirstamp
@@ -26,6 +27,7 @@ m4/lt~obsolete.m4
2627
missing
2728
stamp-h1
2829
aac-enc
30+
test-encode-decode
2931
compile
3032

3133
CMakeCache.txt

Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ cc_library_static {
9494

9595
apex_available: [
9696
"//apex_available:platform",
97-
"com.android.bluetooth.updatable",
97+
"com.android.btservices",
9898
"com.android.media.swcodec",
9999
],
100100
min_sdk_version: "29",

CMakeLists.txt

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if(POLICY CMP0091)
4343
cmake_policy(SET CMP0091 NEW)
4444
endif()
4545

46-
project(fdk-aac VERSION 2.0.2)
46+
project(fdk-aac VERSION 2.0.3)
4747

4848
# Includes
4949

@@ -62,7 +62,7 @@ include(CPack)
6262
# Options
6363

6464
option(BUILD_SHARED_LIBS "Build shared library" ON)
65-
option(BUILD_PROGRAMS "Build aac-enc utility" OFF)
65+
option(BUILD_PROGRAMS "Build extra utilities" OFF)
6666
option(FDK_AAC_INSTALL_CMAKE_CONFIG_MODULE "Install CMake package configuration file" ON)
6767
option(FDK_AAC_INSTALL_PKGCONFIG_MODULE "Install pkg-config .pc file" ON)
6868

@@ -487,10 +487,11 @@ target_link_libraries(fdk-aac PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>)
487487
### Set public headers and shared library version. Version info is critical for Unix-like OSes.
488488
set_target_properties(fdk-aac PROPERTIES
489489
PUBLIC_HEADER "${fdk_aacinclude_HEADERS}"
490-
VERSION 2.0.2
490+
VERSION 2.0.3
491491
SOVERSION 2
492492
MACHO_COMPATIBILITY_VERSION 3.0.0
493-
MACHO_CURRENT_VERSION 3.2.0)
493+
MACHO_CURRENT_VERSION 3.3.0
494+
LINKER_LANGUAGE C)
494495

495496
### Some compiler options from Makefile.am
496497
if(MSVC)
@@ -585,4 +586,15 @@ if(BUILD_PROGRAMS)
585586
## Program target installation
586587
install(TARGETS aac-enc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
587588

589+
590+
## Tool for testing the library
591+
set(test_encode_decode_SOURCES
592+
test-encode-decode.c
593+
wavreader.c
594+
wavreader.h
595+
sha1.c
596+
sha1.h)
597+
598+
add_executable(test-encode-decode ${test_encode_decode_SOURCES})
599+
target_link_libraries(test-encode-decode PRIVATE fdk-aac)
588600
endif()

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.0.3
2+
- Minor upstream updates
3+
- Fixed one case of a failed assert in SBR encoding
4+
- Added build support for s390x
5+
16
2.0.2
27
- Minor upstream updates
38
- Lots of upstream and local fuzzing fixes

METADATA

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
2+
# CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
3+
# DEPENDING ON IT IN YOUR PROJECT. ***
14
third_party {
5+
license_note: "Software License for The Fraunhofer FDK AAC Codec Library for Android"
26
license_type: BY_EXCEPTION_ONLY
37
}

Makefile.am

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,14 @@ libfdk_aac_la_LDFLAGS = -version-info @FDK_AAC_VERSION@ -no-undefined \
4040

4141
if EXAMPLE
4242
bin_PROGRAMS = aac-enc$(EXEEXT)
43+
noinst_PROGRAMS = test-encode-decode$(EXEEXT)
4344

4445
aac_enc_LDADD = libfdk-aac.la
4546
aac_enc_SOURCES = aac-enc.c wavreader.c
4647

48+
test_encode_decode_LDADD = libfdk-aac.la
49+
test_encode_decode_SOURCES = test-encode-decode.c wavreader.c sha1.c
50+
4751
noinst_HEADERS = wavreader.h
4852
endif
4953

@@ -278,7 +282,6 @@ EXTRA_DIST = \
278282
$(top_srcdir)/libSBRenc/src/*.h \
279283
$(top_srcdir)/libSBRenc/include/*.h \
280284
$(top_srcdir)/libSBRdec/src/*.h \
281-
$(top_srcdir)/libSBRdec/src/arm/*.cpp \
282285
$(top_srcdir)/libSBRdec/include/*.h \
283286
$(top_srcdir)/libSYS/include/*.h \
284287
$(top_srcdir)/libPCMutils/include/*.h \
@@ -296,5 +299,7 @@ EXTRA_DIST = \
296299
$(top_srcdir)/libFDK/src/mips/*.cpp \
297300
$(top_srcdir)/METADATA \
298301
$(top_srcdir)/PREUPLOAD.cfg \
302+
$(top_srcdir)/sha1.h \
303+
$(top_srcdir)/test/* \
299304
$(top_srcdir)/win32/*.h
300305

aac-enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ int main(int argc, char *argv[]) {
129129
}
130130
}
131131
if (aacEncoder_SetParam(handle, AACENC_SAMPLERATE, sample_rate) != AACENC_OK) {
132-
fprintf(stderr, "Unable to set the AOT\n");
132+
fprintf(stderr, "Unable to set the sample rate\n");
133133
return 1;
134134
}
135135
if (aacEncoder_SetParam(handle, AACENC_CHANNELMODE, mode) != AACENC_OK) {

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl -*- Autoconf -*-
22
dnl Process this file with autoconf to produce a configure script.
33

4-
AC_INIT([fdk-aac], [2.0.2], [http://sourceforge.net/projects/opencore-amr/])
4+
AC_INIT([fdk-aac], [2.0.3], [http://sourceforge.net/projects/opencore-amr/])
55
AC_CONFIG_AUX_DIR(.)
66
AC_CONFIG_MACRO_DIR([m4])
77
AM_INIT_AUTOMAKE([tar-ustar foreign])
@@ -26,7 +26,7 @@ AC_SEARCH_LIBS([sin], [m])
2626
dnl soname version to use
2727
dnl goes by ‘current[:revision[:age]]’ with the soname ending up as
2828
dnl current.age.revision
29-
FDK_AAC_VERSION=2:2:0
29+
FDK_AAC_VERSION=2:3:0
3030

3131
AS_IF([test x$enable_shared = xyes], [LIBS_PRIVATE=$LIBS], [LIBS_PUBLIC=$LIBS])
3232
AC_SUBST(FDK_AAC_VERSION)

debian/changelog

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
fdk-aac (2.0.3-1) unstable; urgency=medium
2+
3+
[ Jeremy Bicha ]
4+
* debian/watch: look for tags not "releases"
5+
6+
[ Debian Janitor ]
7+
* Set upstream metadata fields: Bug-Submit.
8+
* Update standards version to 4.6.2, no changes needed.
9+
* Avoid explicitly specifying -Wl,--as-needed linker flag.
10+
11+
[ Fabian Greffrath ]
12+
* New upstream version 2.0.3
13+
* Add myself to Uploaders
14+
* Bump debian/watch file standard to 4
15+
* Add myself to Debian packaging copyright holders
16+
* Add the FSF's stance on the FDK AAC license as a disclaimer to the
17+
debian/copyright file
18+
* Add patch description to d/p/add_more_arch
19+
* Forward patch to upstream
20+
* Bump Standards-Version to 4.7.1
21+
* Upload to unstable
22+
23+
-- Fabian Greffrath <fabian@debian.org> Fri, 28 Feb 2025 11:36:48 +0100
24+
25+
fdk-aac (2.0.2-1.1~exp1) experimental; urgency=medium
26+
27+
* Non-maintainer upload.
28+
* Rename libraries for 64-bit time_t transition.
29+
30+
-- Michael Hudson-Doyle <mwhudson@debian.org> Thu, 01 Feb 2024 22:36:54 +0000
31+
132
fdk-aac (2.0.2-1) unstable; urgency=medium
233

334
* Team upload

debian/control

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ Source: fdk-aac
22
Section: non-free/libs
33
Priority: optional
44
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
5-
Uploaders: Romain Beauxis <toots@rastageeks.org>
5+
Uploaders: Romain Beauxis <toots@rastageeks.org>,
6+
Fabian Greffrath <fabian@debian.org>
67
Homepage: https://github.com/mstorsjo/fdk-aac
7-
Standards-Version: 4.6.0
8+
Standards-Version: 4.7.1
89
Build-Depends: debhelper-compat (= 13)
910
Vcs-Git: https://salsa.debian.org/multimedia-team/fdk-aac.git
1011
Vcs-Browser: https://salsa.debian.org/multimedia-team/fdk-aac
1112
XS-Autobuild: yes
1213
Rules-Requires-Root: no
1314

14-
Package: libfdk-aac2
15+
Package: libfdk-aac2t64
16+
Provides: ${t64:Provides}
17+
Replaces: libfdk-aac2
18+
Breaks: libfdk-aac2 (<< ${source:Version})
1519
Architecture: any
1620
Multi-Arch: same
1721
Depends:
@@ -29,7 +33,7 @@ Architecture: any
2933
Multi-Arch: same
3034
Section: non-free/libdevel
3135
Depends:
32-
libfdk-aac2 (= ${binary:Version}),
36+
libfdk-aac2t64 (= ${binary:Version}),
3337
pkg-config,
3438
${misc:Depends}
3539
Description: Fraunhofer FDK AAC Codec Library - development files

0 commit comments

Comments
 (0)