1. 22 Aug, 2015 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC/stream_decoder: Fix double free · 684fb3d5
      Erik de Castro Lopo authored
      The american-fuzzy-lop fuzzer found a couple of instances of double
      free() resulting from commit 15a90626.
      
      The problematic free() were the ones associated with use of the
      safe_realloc_mul_2op_() function which can call realloc(ptr,0) which
      according to the realloc manpage is already an implicit free().
      684fb3d5
  2. 09 Aug, 2015 1 commit
  3. 08 Aug, 2015 1 commit
  4. 13 Jul, 2015 1 commit
  5. 05 Jul, 2015 2 commits
    • Erik de Castro Lopo's avatar
      libFLAC: More comment validation · ff50779e
      Erik de Castro Lopo authored
      When the allocation for obj->comment fails, set obj->num_comments
      to zero.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      ff50779e
    • Erik de Castro Lopo's avatar
      libFLAC: Improve fix in bc511300 · d939b44a
      Erik de Castro Lopo authored
      The assert that was removed in bc511300, was a result of error
      handling in read_metadata_vorbiscomment_() which set obj->num_comments
      to zero, without freeing obj->comments and setting it to NULL.
      
      This commit also restores the assert that was removed.
      d939b44a
  6. 24 Apr, 2015 1 commit
  7. 18 Feb, 2015 1 commit
  8. 21 Dec, 2014 1 commit
  9. 11 Dec, 2014 2 commits
  10. 29 Nov, 2014 1 commit
  11. 27 Nov, 2014 1 commit
  12. 26 Nov, 2014 1 commit
  13. 25 Nov, 2014 2 commits
  14. 20 Nov, 2014 1 commit
  15. 26 Sep, 2014 1 commit
  16. 20 Sep, 2014 2 commits
  17. 17 Sep, 2014 1 commit
    • Erik de Castro Lopo's avatar
      Remove old/broken PPC/Altivec code. · b60f16bb
      Erik de Castro Lopo authored
      * Removes FLAC__lpc_restore_signal_asm_ppc_altivec_16*
        from lpc.h and stream_decoder.c
      * Removes PPC-specific code from cpu.c and cpu.h
      * Removes PPC stuff from libFLAC/Makefile.lite and build/*.mk
      * Removes as/gas/PPC-specific stuff from configure.ac and
        libFLAC/Makefile.am*
      * Removes libFLAC/ppc folder and remove "src/libFLAC/ppc*/Makefile"
        lines from configure.ac
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      b60f16bb
  18. 27 Jul, 2014 1 commit
  19. 06 Jul, 2014 1 commit
  20. 03 Jul, 2014 1 commit
  21. 27 Jun, 2014 1 commit
  22. 14 May, 2014 1 commit
  23. 09 Apr, 2014 1 commit
    • Erik de Castro Lopo's avatar
      Fix clang compiler warnings. · 3f5208c3
      Erik de Castro Lopo authored
      These were most arising from -Wenum-conversion where an enum of
      one type was being assigned to a variable on another.
      
      Originally reported by Lenny Maiorani <lenny@colorado.edu> on the
      flac-dev mailing list.
      3f5208c3
  24. 24 Mar, 2014 1 commit
  25. 14 Mar, 2014 1 commit
  26. 24 Feb, 2014 1 commit
    • Erik de Castro Lopo's avatar
      Don't use intrinsics when they are slower. · cf0e42ae
      Erik de Castro Lopo authored
      More thorough en-/decoding tests show that sometimes the functions
      that use intrinsics are slower (or not really faster) than old
      plain C functions.
      
      After this patch the encoder doesn't use these new functions
      when their usefulness is questionable.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      cf0e42ae
  27. 01 Feb, 2014 1 commit
  28. 31 Jan, 2014 1 commit
    • Erik de Castro Lopo's avatar
      Add a fast shift for int64 values. · 4618512d
      Erik de Castro Lopo authored
      This patch changes the code from:
      	(FLAC__int32)(xmm.m128i_i64[0] >> lp_quantization)
      into:
      	_mm_cvtsi128_si32(_mm_srli_epi64(xmm, lp_quantization));
      
      Encoding of 24-bit .wav files with 32-bit FLAC became noticeably faster.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      4618512d
  29. 30 Jan, 2014 1 commit
  30. 07 Jan, 2014 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC : Add asm versions for two _wide() functions. · 7e927893
      Erik de Castro Lopo authored
      GCC generates slow ia32 code for FLAC__lpc_restore_signal_wide() and
      FLAC__lpc_compute_residual_from_qlp_coefficients_wide() so 24-bit
      encoding/decoding is slower for GCC compile than for MSVS or ICC
      compile. This patch adds ia32 asm versions of these functions.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      7e927893
  31. 03 Oct, 2013 1 commit
    • Erik de Castro Lopo's avatar
      Improve x86 instrinsic implementation. · ecd0acba
      Erik de Castro Lopo authored
      * Splits lpc_x86intrin.c to lpc_intrin_sse.c and lpc_intrin_sse2.c
      * Add FLAC__lpc_compute_residual_from_qlp_coefficients_intrin_sse2()
        function to lpc_intrin_sse2.c
      * Add lpc_intrin_sse41.c with two ..._wide_intrin_sse41() functions
        (useful for 24-bit en-/decoding)
      * Add precompute_partition_info_sums_intrin_sse2() / ...ssse3() and
        disables precompute_partition_info_sums_32bit_asm_ia32_().
        SSE2 version uses 4 SSE2 instructions instead of 1 SSSE3 instruction
        PABSD so it is slightly slower.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      ecd0acba
  32. 25 Sep, 2013 1 commit
  33. 06 Jun, 2013 1 commit
  34. 26 May, 2013 1 commit
  35. 25 May, 2013 1 commit
  36. 05 Apr, 2013 1 commit