head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.2 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.17.0.28 pkgsrc-2023Q3-base:1.17 pkgsrc-2023Q2:1.17.0.26 pkgsrc-2023Q2-base:1.17 pkgsrc-2023Q1:1.17.0.24 pkgsrc-2023Q1-base:1.17 pkgsrc-2022Q4:1.17.0.22 pkgsrc-2022Q4-base:1.17 pkgsrc-2022Q3:1.17.0.20 pkgsrc-2022Q3-base:1.17 pkgsrc-2022Q2:1.17.0.18 pkgsrc-2022Q2-base:1.17 pkgsrc-2022Q1:1.17.0.16 pkgsrc-2022Q1-base:1.17 pkgsrc-2021Q4:1.17.0.14 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.17.0.12 pkgsrc-2021Q3-base:1.17 pkgsrc-2021Q2:1.17.0.10 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.17.0.8 pkgsrc-2021Q1-base:1.17 pkgsrc-2020Q4:1.17.0.6 pkgsrc-2020Q4-base:1.17 pkgsrc-2020Q3:1.17.0.4 pkgsrc-2020Q3-base:1.17 pkgsrc-2020Q2:1.17.0.2 pkgsrc-2020Q2-base:1.17 pkgsrc-2020Q1:1.16.0.4 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.6 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.16.0.2 pkgsrc-2019Q3-base:1.16 pkgsrc-2019Q2:1.15.0.18 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.16 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.15.0.14 pkgsrc-2018Q4-base:1.15 pkgsrc-2018Q3:1.15.0.12 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.10 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.8 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.6 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.15.0.4 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.14.0.64 pkgsrc-2017Q2-base:1.14 pkgsrc-2017Q1:1.14.0.62 pkgsrc-2017Q1-base:1.14 pkgsrc-2016Q4:1.14.0.60 pkgsrc-2016Q4-base:1.14 pkgsrc-2016Q3:1.14.0.58 pkgsrc-2016Q3-base:1.14 pkgsrc-2016Q2:1.14.0.56 pkgsrc-2016Q2-base:1.14 pkgsrc-2016Q1:1.14.0.54 pkgsrc-2016Q1-base:1.14 pkgsrc-2015Q4:1.14.0.52 pkgsrc-2015Q4-base:1.14 pkgsrc-2015Q3:1.14.0.50 pkgsrc-2015Q3-base:1.14 pkgsrc-2015Q2:1.14.0.48 pkgsrc-2015Q2-base:1.14 pkgsrc-2015Q1:1.14.0.46 pkgsrc-2015Q1-base:1.14 pkgsrc-2014Q4:1.14.0.44 pkgsrc-2014Q4-base:1.14 pkgsrc-2014Q3:1.14.0.42 pkgsrc-2014Q3-base:1.14 pkgsrc-2014Q2:1.14.0.40 pkgsrc-2014Q2-base:1.14 pkgsrc-2014Q1:1.14.0.38 pkgsrc-2014Q1-base:1.14 pkgsrc-2013Q4:1.14.0.36 pkgsrc-2013Q4-base:1.14 pkgsrc-2013Q3:1.14.0.34 pkgsrc-2013Q3-base:1.14 pkgsrc-2013Q2:1.14.0.32 pkgsrc-2013Q2-base:1.14 pkgsrc-2013Q1:1.14.0.30 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.14.0.28 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.14.0.26 pkgsrc-2012Q3-base:1.14 pkgsrc-2012Q2:1.14.0.24 pkgsrc-2012Q2-base:1.14 pkgsrc-2012Q1:1.14.0.22 pkgsrc-2012Q1-base:1.14 pkgsrc-2011Q4:1.14.0.20 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q3:1.14.0.18 pkgsrc-2011Q3-base:1.14 pkgsrc-2011Q2:1.14.0.16 pkgsrc-2011Q2-base:1.14 pkgsrc-2011Q1:1.14.0.14 pkgsrc-2011Q1-base:1.14 pkgsrc-2010Q4:1.14.0.12 pkgsrc-2010Q4-base:1.14 pkgsrc-2010Q3:1.14.0.10 pkgsrc-2010Q3-base:1.14 pkgsrc-2010Q2:1.14.0.8 pkgsrc-2010Q2-base:1.14 pkgsrc-2010Q1:1.14.0.6 pkgsrc-2010Q1-base:1.14 pkgsrc-2009Q4:1.14.0.4 pkgsrc-2009Q4-base:1.14 pkgsrc-2009Q3:1.14.0.2 pkgsrc-2009Q3-base:1.14 pkgsrc-2009Q2:1.11.0.2 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.10.0.16 pkgsrc-2009Q1-base:1.10 pkgsrc-2008Q4:1.10.0.14 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.12 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.10 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.8 pkgsrc-2008Q2-base:1.10 cwrapper:1.10.0.6 pkgsrc-2008Q1:1.10.0.4 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.2 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.9.0.6 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.4 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.2 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.8.0.6 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.4 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.2 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.6.0.4 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.2 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.1.1.0.6 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.18 date 2023.11.13.15.22.45; author wiz; state Exp; branches; next 1.17; commitid Jse6pLZJaXc2IsME; 1.17 date 2020.05.08.13.03.20; author nia; state Exp; branches; next 1.16; commitid VHHjUsQeaUhedr7C; 1.16 date 2019.09.14.13.34.06; author nia; state Exp; branches; next 1.15; commitid eVf0rNgIks360ZCB; 1.15 date 2017.07.23.16.09.17; author adam; state Exp; branches; next 1.14; commitid hwpr9btJaVPO1n0A; 1.14 date 2009.08.11.11.16.37; author drochner; state Exp; branches; next 1.13; 1.13 date 2009.08.10.00.01.55; author tnn; state Exp; branches; next 1.12; 1.12 date 2009.07.13.12.55.54; author tonio; state Exp; branches; next 1.11; 1.11 date 2009.06.14.17.32.05; author joerg; state Exp; branches; next 1.10; 1.10 date 2007.12.09.10.55.30; author drochner; state Exp; branches; next 1.9; 1.9 date 2007.02.09.20.10.50; author drochner; state Exp; branches; next 1.8; 1.8 date 2006.05.30.20.53.48; author tron; state Exp; branches; next 1.7; 1.7 date 2006.05.30.20.23.32; author tron; state Exp; branches; next 1.6; 1.6 date 2005.12.08.10.06.32; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.10.09.03.23.11; author ben; state Exp; branches; next 1.4; 1.4 date 2005.10.06.13.13.28; author ben; state Exp; branches; next 1.3; 1.3 date 2004.09.22.08.09.15; author jlam; state Exp; branches; next 1.2; 1.2 date 2004.03.28.20.16.09; author mycroft; state Exp; branches; next 1.1; 1.1 date 2002.09.05.17.49.42; author dillo; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.09.05.17.49.42; author dillo; state Exp; branches; next ; desc @@ 1.18 log @faad2: update to 2.11.0. 2.11.0: [ Eugène Filin ] * Fix incorrect variable initialization [ Eugene Kliuchnikov ] * CI/CD, build, etc - setup GitHub workflows; test build under MSVC, OSX, MSYS2, Linux - add CMake build system - additionally add Bazel build - remove automake and MSVC project files - add fuzzers that cover almost all decoder code - setup fuzzing for various builds: (no-)FIXED_POINT / (no-)DRM - remove dead code - address differes compilers warnings - move version to distingished place that different build systems can read * "Safe" bugs "Safe" means that it is unlikely to be exploited; those affect the decoded result for (most likely) extreme inputs. Some fixes are useful only for "FIXED_POINT" build, since it has more restrictions on intermediate values. - "negative range" in estimate_current_envelope - integer overflow in channel downmixing - integer overflow in estimate_envelope - integer overflows caused by "practical infinite" gain - integer overflows in HF adjustment code - several "left shift of negative value" - priming RNG to avoid using values that does not look random at all - do not drop the first frame of output; other decoders don't do this - touching uninitialized values in lt_update_state - touching uninitialized values in bit-reader buffers * "Almost Safe" bugs "Almost safe" means that those are unlinkly to be exploited; if those surface depends on build options / environment. - division by zero in HF (noise?) generator and scale factor adjustment - division by zero gen_rand_vector * "Unsafe" bugs "Unsafe" means that those can cause crash, or could somehow else be exploited. - CLI: accessing unallocated memory in mp4info (corrupted / zero-samples input) (CVE-2023-38857) - CLI: out-of-bounds when parsing mp4 header - CLI: crash because of wrong mp4 frame offset calculation (CVE-2023-38857) - error handling rvlc_decode_scale_factors (CPU bomb?) - null pointer dereference (in DRM + PS build) - index-out-of-bounds / stack-buffer-overflow in decode_sce_lfe (for streams with PCE) - stack-buffer-overflow in pns_decode - null pointer derefernce (when channels change their type in the middle of the stream) - infinite loop on currupted stream - add practial limits for scale factors; otherwise calculated NaN/Inf values could confuse further logic, resulting in access-out-of-bounds - check sf_index in window_grouping_info to avoid access-out-of-bounds - clamp bs_pointer values to avoid access-out-of-bounds - infinite loop in fill_element - sanitize input values in ps_mix_phase to avoid access-out-of-bounds - fix internal decoder buffer size calculation to avoid heap-out-of-bounds - calculate channel length multiplier even if main channel is already allocated to avoid heap-out-of-bounds - reserve enough slots for channels in decode_sce_lfe to avoid heap-out-of-bounds [ David Korczynski ] * Fuzzing integration with oss-fuzz [ Steveice10 ] * Add define option to disable SBR/PS support * Fix coefficient table selection in tns_decode_coef @ text @@@comment $NetBSD$ bin/faad include/faad.h include/neaacdec.h lib/libfaad.so lib/libfaad.so.2 lib/libfaad.so.${PKGVERSION} lib/libfaad_drm.so lib/libfaad_drm.so.2 lib/libfaad_drm.so.${PKGVERSION} lib/pkgconfig/faad2.pc man/man1/faad.1 man/man3/libfaad.3 @ 1.17 log @faad2: Update to 2.9.2 2.9.2: [ Michał Janiszewski ] * Only use x86-assembly when explicitly on x86 * Use unsigned integers correctly * Initialize pointers that might otherwise not be [ Fabian Greffrath ] * update README esp. WRT directory structure [ Rosen Penev ] * fix compilation without SBR/PS_DEC (#48) * fix compilation with LC_ONLY_DECODER (#47) [ Fabian Greffrath ] * fix "inline function 'cfftf1' declared but never defined" compiler warning * fix some inconsistencies in the frontend output * mp4read_open: add check for failed frame buffer allocation * stszin: add check for allocation error and integer overflow * add a pkg-config file [ Stefan Pöschel ] * frontend: address compile warning + add missing LF (#50) [ François Cartegnie ] * library name is faad (#52) * Unbreak PS audio (#51) @ text @d3 8 a10 4 include/faad2/faad.h include/faad2/neaacdec.h lib/libfaad.la lib/libfaad_drm.la d13 1 @ 1.16 log @faad2: Update to 2.9.0 Changes: [ Krzysztof Nikiel ] Build system fixes and code clean-up [ LoRd_MuldeR ] Fix compiler warnings and code indentation Fix compilation with GCC <= 4.7.3 MSVC solution file clean-up [ Cameron Cawley ] Fix compilation with GCC 4.7.4 Fix compilation with MinGW [ Michael Fink ] MSVC 2017 project file update [ Hugo Lefeuvre ] Fix crash with unsupported MP4 files (NULL pointer dereference, division by zero) CVE-2019-6956: ps_dec: sanitize iid_index before mixing CVE-2018-20196: sbr_fbt: sanitize sbr->M (should not exceed MAX_M) CVE-2018-20199, CVE-2018-20360: specrec: better handle unexpected parametric stereo (PS) CVE-2018-20362, CVE-2018-19504, CVE-2018-20195, CVE-2018-20198, CVE-2018-20358: syntax.c: check for syntax element inconsistencies CVE-2018-20194, CVE-2018-19503, CVE-2018-20197, CVE-2018-20357, CVE-2018-20359, CVE-2018-20361: sbr_hfadj: sanitize frequency band borders [ Hugo Beauzée-Luyssen ] CVE-2019-15296, CVE-2018-19502: Fix a couple buffer overflows [ Filip Roséen ] Prevent crash on SCE followed by CPE [ Gianfranco Costamagna ] Fix linking with GCC 9 and "-Wl,--as-needed" [ Fabian Greffrath ] Enable the frontend to be built reproducibly @ text @d7 1 @ 1.15 log @2.8.1: - seeking support for MP4 files 2.8.0: - patches and fixed bugs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.14 2009/08/11 11:16:37 drochner Exp $ a3 2 include/faad2/mp4ff.h include/faad2/mp4ffint.h a6 1 lib/libmp4ff.la @ 1.14 log @make the installed include files more consistent: don't rely on HAVE_STDINT_H defined by the client app, don't install mp4ffint.h which is purely internal, fix build of the xmms plugin, bump PKGREVISION @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.13 2009/08/10 00:01:55 tnn Exp $ a3 2 include/faad2/faad2-config.h include/faad2/mp4ff_int_types.h d5 1 d8 1 @ 1.13 log @- Update to faad2-2.7 - set LICENSE to gnu-gpl-v2 - install faad(1) manpage 2009-02-02 - Version 2.7 * DAB+ support * Use public headers internally to prevent duplicate declarations * Explicitly typedef all types as signed * Made sure MAIN prediction can't be started after the first frame * Lot's of compilation issues solved * Bugfix in SBR envelope border calculation @ text @d1 1 a1 1 @@comment $NetBSD$ d5 1 a6 1 include/faad2/mp4ffint.h @ 1.12 log @Let audio/faad2 install libmp4ff. It is used by musicpd to play m4a files. Fixes PR/40584 applying a very similar patch. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.11 2009/06/14 17:32:05 joerg Exp $ d3 1 d5 2 a6 1 include/faad2/faad.h a7 1 include/faad2/mp4ff.h d10 1 @ 1.11 log @Remove @@dirrm entries from PLISTs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.10 2007/12/09 10:55:30 drochner Exp $ d6 1 d8 1 @ 1.10 log @update to 2.6.1 This adds SBR/PS support and bugfixes. The licensing problems which appeared in 2.5 were resolved in 2.6.1. pkgsrc notes: -no dependency on libmp4v2 anymore -added a patch to the "faad" standalone player to restore previous behaviour: The -w option writes .wav format (with riff header) to stdout. Thanks to Raymond Meyer for help and testing. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.9 2007/02/09 20:10:50 drochner Exp $ a6 1 @@dirrm include/faad2 @ 1.9 log @-build against libmp4v2 instead of the full mpeg4ip -don't build the plugin for the mpeg4ip player -kill SDL dependency -bump PKGREVISION @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2006/05/30 20:53:48 tron Exp $ d5 1 a5 1 include/faad2/mp4ff.h a6 1 lib/libmp4ff.la @ 1.8 log @Fix package list issue (which CHECK_FILES=yes doesn't catch reliably for some reason) and bump package revision again. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.7 2006/05/30 20:23:32 tron Exp $ a7 1 lib/mp4player_plugin/faad2_plugin.la @ 1.7 log @Disable bundled and outdated "mp4v2" library. Depend on newer version from "mpeg4ip" package instead which resolves the conflict between the two packages. Patch taken from PLD linux. Bump package revision because of thix fix. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.6 2005/12/08 10:06:32 wiz Exp $ d7 2 @ 1.6 log @Write newline character to stderr instead of stdout, to avoid polluting the output stream when -w is used. From Parag Patel in PR 32268. While here, add missing directory to PLIST. Bump PKGREVISION. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2005/10/09 03:23:11 ben Exp $ a4 1 include/faad2/mp4.h a5 2 include/faad2/mpeg4ip.h include/faad2/systems.h a6 2 lib/libmp4ff.la lib/libmp4v2.la @ 1.5 log @This change addresses PR#31443 Copy config.h to faad2-config.h. Modify systems.h to refer to faad2-config.h, and install faad2-config.h. This situation is discussed here: http://lists.gnu.org/archive/html/automake/2000-10/msg00114.html Remove the undef of PACKAGE and VERSION, and add a 3rd non-empty argument to AM_INIT_AUTOMAKE. This situation is discussed here: http://lists.gnu.org/archive/html/automake/2000-10/msg00108.html Modify the condition from HAVE_GLIB_H to __G_LIB_H__, which was easier because faad2 doesn't depend on glib. Bump pkgrevision. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2005/10/06 13:13:28 ben Exp $ d12 1 @ 1.4 log @This change addresses PR#31443 Install header files in include/faad2 Install include/faad2/config.h Add include/faad2 to search path in buildlink3.mk Since software depending on mp4.h won't be able to build without this change, bump PKGREVISION and update BUILDLINK_DEPENDS.faad2 in buildlink3.mk @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:15 jlam Exp $ d3 1 a3 1 include/faad2/config.h @ 1.3 log @Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes". @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2004/03/28 20:16:09 mycroft Exp $ d3 6 a8 5 include/faad.h include/mp4.h include/mp4ff.h include/mpeg4ip.h include/systems.h @ 1.2 log @Update to 2.0. There are many changes, but the main user-visible improvement is support for decoding AAC HE files (as generated by iTunes). @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ a7 1 lib/libfaad.a a8 4 lib/libfaad.so lib/libfaad.so.0 lib/libfaad.so.0.0 lib/libmp4ff.a a9 4 lib/libmp4ff.so lib/libmp4ff.so.0 lib/libmp4ff.so.0.0 lib/libmp4v2.a a10 3 lib/libmp4v2.so lib/libmp4v2.so.0 lib/libmp4v2.so.0.0 @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD$ d4 4 d13 5 @ 1.1.1.1 log @initial import of faad 1.1 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC files. @ text @@