- 28 Jun, 2016 4 commits
-
-
Julian Calaby authored
-
Julian Calaby authored
-
Julian Calaby authored
-
Julian Calaby authored
This saves 5 if statements that would have had to have been optimised away.
-
- 26 Jun, 2016 6 commits
-
-
Erik de Castro Lopo authored
With help from lvqcl <lvqcl.mail@gmail.com>
-
Erik de Castro Lopo authored
MSVC is strange and perverse.
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
* Split `FLAC__cpu_info` into CPU specific functions. We now have `ia32_cpi_info` and `x86_64_cpu_info` and a simple obvious way to add support for other CPUs. * Improve handling of Android OS. * Remove more #ifdefs where possible. * Compile (syntax and type check) DEBUG output code even when debugging is disabled. * Remove build support for ancient NetBSD version 1.5 (version 1.6 was released in 2002).
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
* Make `FLAC__cpu_xgetbv_x86` private to cpu.c (and rename it to `cpu_xgetbv_x86` (it wasn't being used anywhere else). * Remove `FLAC__cpu_have_cpuid_x86` altogether as it wasn't actually being used but that was difficult to tell because of all the #ifdef nonsense.
-
- 25 Jun, 2016 1 commit
-
-
Erik de Castro Lopo authored
-
- 20 Jun, 2016 2 commits
-
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
-
- 13 Jun, 2016 1 commit
-
-
Erik de Castro Lopo authored
Apparently this had been fixes in Audacity and other projects but no one had bothered to feed them back upstream. Thanks to lvqcl for researching this and finding the relevant patches. Thanks to Ozkan Sezer for validating them. Closes: https://sourceforge.net/p/flac/bugs/438/
-
- 22 May, 2016 1 commit
-
-
Erik de Castro Lopo authored
The previous fixes for metadata_iterators didn't completely fix the problem. The behavior of chain_prepare_for_write_() must always be the same as the behavior of FLAC__metadata_chain_check_if_tempfile_needed(). Before this fix, one check was missing in FLAC__metadata_chain_check_if_tempfile_needed(), and also chain_prepare_for_write_() checked the sizes of the metadata blocks *after* making the changes to the chain, while FLAC__metadata_chain_check_if_tempfile_needed() does it *before* the changes. This patch changes FLAC__metadata_chain_check_if_tempfile_needed() so that it keeps some info (lbs_state, lbs_size) about estimated changes and then uses it to check the block sizes. It also simplifies FLAC__metadata_chain_check_if_tempfile_needed() a little. Patch-from: lvqcl <lvqcl.mail@gmail.com>
-
- 12 May, 2016 3 commits
-
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
This allows extra CFLAGS to be set on the command line. Eg CFLAGS=Werror make -f Makefile.lite
-
- 11 May, 2016 1 commit
-
-
Tim Blechmann authored
Signed-off-by:
Erik de Castro Lopo <erikd@mega-nerd.com>
-
- 08 May, 2016 1 commit
-
-
Erik de Castro Lopo authored
Memory leaks found using `cppcheck`.
-
- 05 May, 2016 1 commit
-
-
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>
-
- 01 May, 2016 5 commits
-
-
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>
-
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>
-
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>
-
Erik de Castro Lopo authored
This follows on from the previous patch. Patch-from: lvqcl <lvqcl.mail@gmail.com>
-
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>
-
- 27 Apr, 2016 1 commit
-
-
Erik de Castro Lopo authored
Last commit added a new file which was not added to `EXTRA_DIST`.
-
- 26 Apr, 2016 1 commit
-
-
Erik de Castro Lopo authored
With this change, flac now accepts cuesheets where the ISRC field is enclosed in double quotes. Added a test for this as well. Closes: https://sourceforge.net/p/flac/bugs/436/
-
- 20 Mar, 2016 5 commits
-
-
Erik de Castro Lopo authored
Introduced in 1be4f953.
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
-
Erik de Castro Lopo authored
Was failing to compile on IA32 with FLAC__INTEGER_ONLY_LIBRARY defined. Reported-by:
"Joakim Landberg" <joakim.landberg@intel.com>
-
Erik de Castro Lopo authored
Make sure obj-num_comments gets set on failure conditions. Patch-from: Robert Shih <robertshih@google.com>
-
- 14 Mar, 2016 1 commit
-
-
Erik de Castro Lopo authored
The former is POSIX while the later is a GNU glibc-ism that does not exist in (for example) the Musl C library that is used in OpenWrt. Reported-by: <neheb@hushmail.com>
-
- 11 Feb, 2016 1 commit
-
-
Erik de Castro Lopo authored
Patch-from: lvqcl <lvqcl.mail@gmail.com>
-
- 10 Feb, 2016 2 commits
-
-
Erik de Castro Lopo authored
* test_bin.sh looks like it was a personal use script for the original developer Josh Coalson and referenced directories outside the actual repository. * test_wrapper.sh was trivial and un-used.
-
Erik de Castro Lopo authored
-
- 09 Feb, 2016 3 commits
-
-
dave.r.yeo authored
Some operating systems such as OS/2 don't have any of the CLOCK* API functions so add gettimeofday() as a fallback. Signed-off-by:
Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by:
Erik de Castro Lopo <erikd@mega-nerd.com>
-
Erik de Castro Lopo authored
These fixes got lost in an earlier commit. Patch-from: lvqcl <lvqcl.mail@gmail.com>
-
Erik de Castro Lopo authored
* Add two missing files to repo. * Add files to Makefile.am `EXTRA_DIST` list.
-