summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add Aarch64 Supportcoreyjjames2020-01-056-0/+257
|
* Fix nullptr dereference in FLAC++Tamás Zahola2019-12-271-0/+3
|
* CMake: Handier way to find IconvVitaliy Kirsanov2019-12-225-21/+15
|
* Correct printf specifiers to unsigned int where neededAndrey Astafyev2019-12-094-9/+9
|
* flac: Input file name size calculated just one timeAndrey Astafyev2019-12-081-10/+14
|
* replaygain: Fixed usage of gainfilter variable after freeAndrey Astafyev2019-12-081-3/+6
|
* flac: Remove variable from expression because it's always equals to falseAndrey Astafyev2019-12-081-1/+1
|
* libFLAC: Removed useless comparisonAndrey Astafyev2019-12-081-1/+1
|
* libFLAC++: Fix mistyped identifier nameAndrey Astafyev2019-12-081-1/+1
|
* libFLAC++: Delete decoder and encoder before return if they're not validAndrey Astafyev2019-12-082-0/+4
|
* Both files are checked for EOFAndrey Astafyev2019-11-301-1/+1
|
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-11-241-2/+3
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19067 Testcase: fuzzer_decoder-5725157960450048
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-11-221-2/+3
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19036 Testcase: fuzzer_decoder-5679084202098688
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-11-191-3/+4
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18535 Testcase: fuzzer_decoder-6573800707063808
* cmake: use proper pkg-config install path variableDeadSix272019-11-182-2/+2
|
* libFLAC++: Add libFLAC++-static.la target for oss-fuzzersErik de Castro Lopo2019-11-181-4/+9
|
* cmake_minimum_required() cleanup:sezero2019-11-153-7/+0
| | | | | | | | | | - document version requirements in the top-level file. - remove incorrect version requirements from sub-dirs. - set min. required version to 3.5 in top-level file. - set minimun required version to 3.9 under docs/ . - make documents building an option (on by default.) so, the tree can be built using cmake-3.5 using -DBUILD_DOCS=0 on the command line.
* flac/main.c: replace an snprintf() call with flac_snprintf()sezero2019-11-111-1/+1
| | | | | | flac_snprintf() is used everywhere else in there. that single instance of plain snprintf() was added in commit 04974d27. fixes flac.exe build with older msvc versions.
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-11-111-1/+1
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18589 Testcase: fuzzer_decoder-5668806471188480
* test_streams: Fix UBSAN error in random generatorErik de Castro Lopo2019-11-111-2/+2
|
* libFLAC/stream_decoder.c: fix integer overflow on corrupt fileHakan Kvist2019-10-241-0/+2
| | | | Corrupt metadata could make the length calculation overflow.
* Fix msvc build after commit b917d456sezero2019-10-191-1/+0
| | | | Closes: https://github.com/xiph/flac/issues/152
* Replace unsigned with uint32_t in prototypes; Fixes DJGPP builds.NY001232019-10-193-3/+3
|
* cmake: fix nasm sources build when building in a separate directorysezero2019-10-101-2/+3
| | | | | | | | | | When building in the same directory as the source, it works, but not in a separate directory. The trailing slash is important with nasm. Note that include_directories("${CMAKE_CURRENT_SOURCE_DIR}/") does not work because cmake seems to strip the trailing slash. Also relax the cmake version requirement from 3.12 to 3.9 as everywhere else in the tree: it works just fine.
* cmake: do not add visibility attributes to shared lib builds for win32.sezero2019-10-102-4/+21
|
* make dllexport work with compilers other than MSVCsezero2019-10-101-8/+11
| | | | | | | | the issue is, flac and metaflac exes rely on flac_internal_???_utf8() procedures from windows_unicode_filenames.c and there is no easy way to exclude them from exports without breaking things. So export them explicitly (they are exported anyway w/o this patch), but add a FIXME note about the kludge in windows_unicode_filenames.c.
* move the new public get_decoder_client_data function to public header.sezero2019-10-101-5/+0
|
* libFLAC/bitreader.c: Fix out-of-bounds readErik de Castro Lopo2019-10-081-1/+1
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17069 Testcase: fuzzer_decoder-5670265022840832
* Make sure CMake build files end up in release tarballErik de Castro Lopo2019-10-0120-0/+28
|
* libFLAC/lpc.c: Fix signed integer overflowErik de Castro Lopo2019-09-161-12/+12
| | | | | | | | Do the addition as 64 bits before truncating to 32 bits. Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16459 Testcase: fuzzer_decoder-5728784602365952
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-09-161-2/+4
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16464 Testcase: fuzzer_decoder-5663276452544512
* libFLAC/bitreader.c: Fix shift invoking undefined behaviourErik de Castro Lopo2019-09-161-1/+1
| | | | | | Credit: Oss-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16458 Testcase: fuzzer_decoder-5649174900506624
* libFLAC/bitreader.c: Fix OOB readErik de Castro Lopo2019-09-161-5/+8
| | | | | | Credit: OSS-Fuzz Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16457 Testcase: fuzzer_decoder-5076189185572864
* Fix a number of gcc 9.2 compiler warningsErik de Castro Lopo2019-09-156-19/+21
|
* Run libFLAC++ through clang-tidy.Rosen Penev2019-09-153-165/+164
| | | | | | | | | Applied the following suggestions: modernize-deprecated-headers google-readability-casting google-readability-namespace-comments readability-else-after-return
* window: fabs > fabsf and cos > cosf where it makes senseRosen Penev2019-09-151-16/+16
| | | | The f functions are faster. It seems the arguments are all floats.
* flac/utils: Add missing defineRosen Penev2019-09-151-0/+3
| | | | wcswidth needs _XOPEN_SOURCE defined. Otherwise, no declaration.
* Switch to utimensat for newer POSIX versionsRosen Penev2019-08-204-11/+28
| | | | | | | | Some libcs like uClibc-ng can optionally disable deprecated functions. utime is one of them. When done so, both the header and the function go missing. This fixes flac_utime to work in such a situation.
* Fix build on FreeBSD PowerPCpkubaj2019-08-181-0/+13
| | | | | Used the elf_aux_info function on FreeBSD and clarify that users of other systems need to implement reading from AT_HWCAP2.
* libFLAC: Rename get_client_data_from_decoder functionErik de Castro Lopo2019-08-092-4/+4
| | | | | This function was added after the 1.3.2 release, but the name was bad (missing "FLAC__" at the start) and the pointer returned should be 'const'.
* Do not assume that sys/param.h defines MIN and MAXsezero2019-08-051-0/+2
| | | | One such example is sys/param.h from MinGW.
* Version 1.3.31.3.3Erik de Castro Lopo2019-08-045-13/+13
|
* Update Visual Studio 2005 filesErik de Castro Lopo2019-07-162-0/+16
| | | | Patch-from: Janne Hyvärinen
* Fix CppCheck warningsErik de Castro Lopo2019-07-153-9/+14
|
* CMake: fixed windows_unicode_filenames linking errorsВиталий Кирсанов2019-05-281-2/+4
|
* Fix Visual Studio solution generation with CMakeevpobr2019-05-121-4/+5
| | | | | | Rename flac application target to flacapp to avoid name collision with FLAC library target. Closes #101.
* Ogg::Ogg renamed to Ogg::oggVitaliy Kirsanov2019-05-041-2/+2
|
* Use of BUILD_SHARED_LIBS addedVitaliy Kirsanov2019-05-0414-56/+49
|
* Fixed dependencies on win_utf8_ioВиталий Кирсанов2019-05-049-20/+30
|
* Fixed dependency between grabbag and utf8Vitaliy Kirsanov2019-05-043-3/+2
|