1. 11 May, 2016 1 commit
  2. 08 May, 2016 1 commit
  3. 05 May, 2016 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC: Add a workaround for a bug in MSVC2105 update2 · 94a61241
      Erik de Castro Lopo authored
      MSVC2105 update2 compiles the C code:
      
          abs_residual_partition_sums[partition] =
                        (FLAC__uint32)_mm_cvtsi128_si32(mm_sum);
      
      into this:
      
          movq    QWORD PTR [rsi], xmm2
      
      while it should be:
      
          movd    eax, xmm2
          mov     QWORD PTR [rsi], rax
      
      With this patch, MSVC emits:
      
          movq    QWORD PTR [rsi], xmm2
          mov     DWORD PTR [rsi+4], r9d
      
      so the price of this workaround is 1 extra write instruction per
      partition.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      94a61241
  4. 01 May, 2016 5 commits
    • Erik de Castro Lopo's avatar
      metadata_iterators.c: Limit padding size · 387992bd
      Erik de Castro Lopo authored
      Without this fix, its possible for libFLAC to create an oversized
      padding metadata block when:
      
      a) it merges existing padding blocks
      
      or
      b) it expands padding block during metadata changes
      
      resulting in a corrupt FLAC file.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      387992bd
    • Erik de Castro Lopo's avatar
      Windows/MSVC: Add ENABLE_64_BIT_WORDS macro · 94ff346a
      Erik de Castro Lopo authored
      Allow setting of ENABLE_64_BIT_WORDS preprocessor variable for
      libFLAC_dynamic, libFLAC_static and test_libFLAC projects and x64
      platform.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      94ff346a
    • Erik de Castro Lopo's avatar
      bitwrite.c: Tweaks · f3a16f85
      Erik de Castro Lopo authored
      * Removes unused FLAC__WORD_ALL_ONES definition.
      * Add comment that unused bits of accumulator can contain garbage.
      * Turn assert inside FLAC__bitwriter_write_utf8_uint32 into runtime
        check (similar to FLAC__bitwriter_write_utf8_uint64() function).
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      f3a16f85
    • Erik de Castro Lopo's avatar
      libFLAC: Add metadata size checks to FLAC library · 94386fde
      Erik de Castro Lopo authored
      This follows on from the previous patch.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      94386fde
    • Erik de Castro Lopo's avatar
      flac/metaflac: Limit the size of metadata blocks · 516a7ad4
      Erik de Castro Lopo authored
      Limit allow image file size to slightly less than 2^24 bytes so that
      the file size plus extra house keeping data is strictly less that
      2^24 bytes in size.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      516a7ad4
  5. 27 Apr, 2016 1 commit
  6. 26 Apr, 2016 1 commit
  7. 20 Mar, 2016 5 commits
  8. 14 Mar, 2016 1 commit
  9. 11 Feb, 2016 1 commit
  10. 10 Feb, 2016 2 commits
  11. 09 Feb, 2016 3 commits
  12. 08 Feb, 2016 5 commits
  13. 02 Feb, 2016 1 commit
  14. 01 Feb, 2016 3 commits
  15. 31 Jan, 2016 3 commits
  16. 30 Jan, 2016 4 commits
  17. 28 Jan, 2016 1 commit
    • Erik de Castro Lopo's avatar
      Windows/MSVC utf8 build fixes · aceddf31
      Erik de Castro Lopo authored
      Files share/utf8/charset.c and share/utf8/iconvert.c aren't needed
      under Windows. This patch removes them from MSVC build system.
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      aceddf31
  18. 26 Jan, 2016 1 commit