head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.12 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.6 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.4 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.1.0.10 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.8 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.6 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.4 pkgsrc-2008Q1:1.1.0.2; locks; strict; comment @# @; 1.2 date 2008.11.08.21.06.46; author bjs; state dead; branches; next 1.1; 1.1 date 2008.04.29.20.22.43; author wiz; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2008.04.29.20.22.43; author rtr; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2008.04.30.10.41.52; author rtr; state Exp; branches; next ; desc @@ 1.2 log @Update to speex-1.2rc1. This should be backward-compatible with 1.0.x versions. Pulseaudio (which I am working on) requires this version; moreover, the 1.0.x releases are deprecated. The ChangeLog is not kept up-to-date, but here are some highlights: 1.2rc1 -------- Again, this new releases brings many improvements. The RAM requirement for wideband has gone down drastically (i.e. more than 2x). A new resampler module has been added, providing arbitrary sampling rate conversion -- fast. The echo canceller has also been improved. A bug in 1.2beta1 that made the echo canceller unstable has been fixed. The echo canceller should now converge faster, be robust and tolerant of incorrect capture-playback synchronisation. The preprocessor has also been greatly improved. Not only should the quality be better, but it is now fully converted to fixed-point. At last, early TriMedia support (incomplete) has been merged. 1.2beta3 -------- The most obvious change in this release is that all the non-codec components (preprocessor, echo cancellation, jitter buffer) have been moved to a new libspeexdsp library. Other changes include a new jitter buffer algorithm and resampler improvements/fixes. This is also the first release where libspeex can be built without any floating point support. To do this, the float compatibility API must be disabled (--disable-float-api or DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr or DISABLE_VBR). 1.2beta2 -------- This release adds support for acoustic echo cancellation with multiple microphones and multiple loudspeakers. It also adds an API to decorrelate loudspeaker signals to improve multi-channel performance. In the bugfix department, there are fixes for a few bugs in the echo canceller, jitter buffer and preprocessor. At this point, the API for 1.2 should be stable and only a few very minor additions are planned. @ text @$NetBSD: patch-ac,v 1.1 2008/04/29 20:22:43 wiz Exp $ https://trac.xiph.org/changeset/14701 --- libspeex/speex_header.c.orig 2004-07-14 05:58:46.000000000 +0000 +++ libspeex/speex_header.c @@@@ -157,6 +157,13 @@@@ SpeexHeader *speex_packet_to_header(char ENDIAN_SWITCH(le_header->frames_per_packet); ENDIAN_SWITCH(le_header->extra_headers); + if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0) + { + speex_warning("Invalid mode specified in Speex header"); + speex_free (le_header); + return NULL; + } + return le_header; } @ 1.1 log @Add patch from upstream against CVE-2008-1686. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ac was added on branch pkgsrc-2008Q1 on 2008-04-30 10:41:52 +0000 @ text @d1 20 @ 1.1.2.2 log @pullup ticket #2354 - requested by wiz speex: update package to address security issue revisions pulled up: - pkgsrc/audio/speex/Makefile 1.26 - pkgsrc/audio/speex/distinfo 1.11 - pkgsrc/audio/speex/patches/patch-ac 1.1 Module Name: pkgsrc Committed By: wiz Date: Tue Apr 29 20:22:43 UTC 2008 Modified Files: pkgsrc/audio/speex: Makefile distinfo Added Files: pkgsrc/audio/speex/patches: patch-ac Log Message: Add patch from upstream against CVE-2008-1686. Bump PKGREVISION. @ text @a0 20 $NetBSD: patch-ac,v 1.1 2008/04/29 20:22:43 wiz Exp $ https://trac.xiph.org/changeset/14701 --- libspeex/speex_header.c.orig 2004-07-14 05:58:46.000000000 +0000 +++ libspeex/speex_header.c @@@@ -157,6 +157,13 @@@@ SpeexHeader *speex_packet_to_header(char ENDIAN_SWITCH(le_header->frames_per_packet); ENDIAN_SWITCH(le_header->extra_headers); + if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0) + { + speex_warning("Invalid mode specified in Speex header"); + speex_free (le_header); + return NULL; + } + return le_header; } @