1. 01 Aug, 2013 1 commit
  2. 21 Jul, 2013 1 commit
    • Erik de Castro Lopo's avatar
      stream_encoder.c : Improve fix for arithmetic overflow. · f34f31da
      Erik de Castro Lopo authored
      The previous fix (patch 6f7ec60c) had the undesireable effect of slowing
      down encoding speed on 16 bit files where the arithmetic overflow was
      less likely to happen.
      
      This fix forces the use of a FLAC__uint64 accumulator for 24 bit files
      and restores the use of a FLAC_uint32 accumulator for 16 (and less) bit
      files.
      
      Unfortunately, I have not been able to prove to myself that this overflow
      *cannot* happen with 16 bit files.
      f34f31da
  3. 17 Jul, 2013 1 commit
    • Erik de Castro Lopo's avatar
      stream_encoder.c : Fix an arithmetic overflow in the RICE2 partitioner. · 6f7ec60c
      Erik de Castro Lopo authored
      For a specific 24 bit WAV file provided by Leigh Dyer
      
          http://lists.xiph.org/pipermail/flac-dev/2013-July/004284.html
      
      encoding with compression level 7 was generating a file a couple of
      orders of magintude larger than the original.
      
      Debugging showed that variable abs_residual_partition_sum (a FLAC__uint32)
      in function precompute_partition_info_sums_() was suffering from an
      arithmetic overflowing on some 24 bit input files although this value
      overflowing did not always cause larger output files.
      
      Since the value abs_residual_partition_sum is eventually stored in an
      array of FLAC__uint64, it makes sense to make abs_residual_partition_sum
      a FLAC__uint64 anyway.
      
      Debugging this problem was made easier by use of the Clang compiler's
      -fsanitize=integer option.
      6f7ec60c
  4. 26 May, 2013 1 commit
  5. 07 Apr, 2013 1 commit
  6. 29 Mar, 2013 1 commit
  7. 14 Mar, 2013 1 commit
  8. 10 Mar, 2013 2 commits
  9. 30 Nov, 2012 1 commit
  10. 22 Jun, 2012 3 commits
  11. 07 Apr, 2012 1 commit
    • Cristian Rodríguez's avatar
      Update and improve autotools build · 9b7cb22f
      Cristian Rodríguez authored and Erik de Castro Lopo's avatar Erik de Castro Lopo committed
      - INCLUDES is deprecated, and CPPFLAGS is an user-defined
        variable, use the proper AM_CPPFLAGS instead
      
      - Remove FLAC__INLINE definition, providing proper
        replacement for MSVC compilers.
      
      - Detect if we have C99 's lround and provide a replacement
        for windows...
      9b7cb22f
  12. 05 Apr, 2012 1 commit
  13. 04 Apr, 2012 1 commit
  14. 04 Feb, 2012 2 commits
  15. 01 Feb, 2012 1 commit
  16. 07 Jan, 2009 1 commit
  17. 02 Jan, 2009 1 commit
  18. 27 May, 2008 1 commit
  19. 28 Feb, 2008 1 commit
  20. 13 Sep, 2007 1 commit
  21. 11 Sep, 2007 1 commit
  22. 31 Jul, 2007 1 commit
  23. 20 Jun, 2007 1 commit
  24. 19 Jun, 2007 1 commit
  25. 14 Jun, 2007 1 commit
  26. 04 Apr, 2007 4 commits
  27. 31 Mar, 2007 1 commit
  28. 30 Mar, 2007 1 commit
  29. 14 Mar, 2007 1 commit
  30. 12 Mar, 2007 1 commit
  31. 06 Mar, 2007 1 commit
  32. 03 Mar, 2007 1 commit
  33. 01 Mar, 2007 1 commit