Xiph.org - flac.git/summary

Flac git repository

http://git.xiph.org/?p=flac.git;a=summary

Les articles publiés sur le site

  • flac/encode.c : Fix an integer overflow

    14 février 2017, par Erik de Castro Lopo
    flac/encode.c: Fix an integer overflow
    
    When encoding a 24 bit multichannel W64 file on a 32 bit system, a
    calculation could overflow resulting in a "got partial sample"
    error and early termination of the encoding process.
    
    The fix was to replace the cast to `size_t` (which is only 32 bits
    on a 32 bit system) with a cast to `uin64_t`.
    
    Thanks to Janne Hyvärinen for helping to track down the problem.
    
    Closes: https://sourceforge.net/p/flac/bugs/453
    
    • [DH] src/flac/encode.c
  • cpu.h : Add #defines so Clang compiles AVX2

    12 février 2017, par Erik de Castro Lopo
    cpu.h: Add #defines so Clang compiles AVX2
    
    Patch-from: <lvqcl.mail@gmail.com>
    
    • [DH] src/libFLAC/include/private/cpu.h
  • Fix compile with cygwin

    9 février 2017, par Rosen Penev
    Fix compile with cygwin
    
    The underscores are wrong. The comment is also correct.
    
    Also remove the configure.ac option. Otherwise it tries to compile the
    windows unicode stuff which POSIX(cygwin) does not understand.
    
    Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
    
    • [DH] configure.ac
    • [DH] include/share/compat.h
    • [DH] src/libFLAC/stream_decoder.c
    • [DH] src/libFLAC/stream_encoder.c
    • [DH] src/share/grabbag/file.c
  • configure.ac : Clean up CFLAGS code

    6 février 2017, par Erik de Castro Lopo
    configure.ac: Clean up CFLAGS code
    
    Also moves _FORTIFY_SOURCE detection to an M4 macro.
    
    Patchfrom: David Seifert <soap@gentoo.org>
    
    • [DH] configure.ac
    • [DH] m4/ax_add_fortify_source.m4
  • libFLAC/lpc_intrin_sse41.c : Change usage of _mm_alignr_epi8

    31 janvier 2017, par Erik de Castro Lopo
    libFLAC/lpc_intrin_sse41.c: Change usage of _mm_alignr_epi8
    
    Replace
         a = _mm_alignr_epi8(b, a, n);
    with
         a = _mm_alignr_epi8(a, b, n);
    
    The resulting code is very slightly faster and the binaries slightly
    smaller.
    
    Patch-from: lvqcl <lvqcl.mail@gmail.com>
    
    • [DH] src/libFLAC/lpc_intrin_sse41.c