Package: lame / 3.99.5+repack1-9

Metadata

Package Version Patches format
lame 3.99.5+repack1-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
07 field width fix.patch | (download)

frontend/parse.c | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 fix warning on 64 bit machines. explicitely set variables as
 unsigned ints.
parallel builds fix.patch | (download)

libmp3lame/i386/Makefile.am | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix race condition causing build failures on i386.
ansi2knr2devnull.patch | (download)

configure.in | 1 0 + 1 - 0 !
doc/html/Makefile.am | 2 1 + 1 - 0 !
doc/man/Makefile.am | 2 1 + 1 - 0 !
libmp3lame/i386/Makefile.am | 2 1 + 1 - 0 !
4 files changed, 3 insertions(+), 4 deletions(-)

 patch out remaining ansi2knr.
privacy breach.patch | (download)

doc/html/about.html | 6 3 + 3 - 0 !
doc/html/abr.html | 8 4 + 4 - 0 !
doc/html/cbr.html | 8 4 + 4 - 0 !
doc/html/contact.html | 8 4 + 4 - 0 !
doc/html/contributors.html | 8 4 + 4 - 0 !
doc/html/detailed.html | 6 3 + 3 - 0 !
doc/html/history.html | 3 1 + 2 - 0 !
doc/html/index.html | 6 3 + 3 - 0 !
doc/html/introduction.html | 6 3 + 3 - 0 !
doc/html/links.html | 8 4 + 4 - 0 !
doc/html/list.html | 8 4 + 4 - 0 !
doc/html/ms_stereo.html | 8 4 + 4 - 0 !
doc/html/usage.html | 6 3 + 3 - 0 !
doc/html/vbr.html | 8 4 + 4 - 0 !
14 files changed, 48 insertions(+), 49 deletions(-)

 fix privacy-breach lintian error
msse.patch | (download)

libmp3lame/vector/Makefile.am | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 build xmm_quantize_sub.c with -msse
force_align_arg_pointer.patch | (download)

libmp3lame/vector/xmm_quantize_sub.c | 13 10 + 3 - 0 !
1 file changed, 10 insertions(+), 3 deletions(-)

 enable functions with sse instructions to maintain their own properly aligned stack
 Operands in SSE instructions must be aligned on 16-byte boundaries. In the
 init_xrpow_core_sse() function these operands are variables on the stack.
 However, when the code is called from the ocaml bindings, the stack is
 allocated by ocaml which does not adhere to the 16-byte boundary rule and thus
 causes the code to crash with a general protection error.
 What is needed is a means enable functions calling SSE instructions to
 maintain their own properly aligned stack. The "force_align_arg_pointer"
 attribute does exactly this, see
 <https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html>.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786438
0001 Add check for invalid input sample rate.patch | (download)

libmp3lame/lame.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 [patch] add check for invalid input sample rate

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>

bits_per_sample.patch | (download)

frontend/get_audio.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 avoid malformed wav causing floating point exception (integer divide by zero) 
int_resample_ratio.patch | (download)

libmp3lame/util.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix decision if sample rate ratio is an integer value or not
 If the sample rate of the input file is sufficiently close to an
 integer multiple of the output sample rate, the value of the intratio
 variable is calculated incorrectly. This leads to further values
 being miscalculated up to the joff variable which is used as an index
 to dereference the esv->blackfilt array. This leads top an overflow
 and causes a segmentation fault.