evpobr
4a253ba0dc
Update documentaton links
2020-10-05 12:21:19 +05:00
evpobr
fe493272d2
Set default CPACK_PACKAGE_NAME to libsndfile
2020-09-25 17:49:18 +10:00
evpobr
ec8f843fa1
CMake: Cache clip test result
2020-09-25 17:49:18 +10:00
Martin Delille
8e97d8182e
Fix MacOS 10.13 compatibility
2020-09-20 19:12:22 +10:00
evpobr
68958f9c91
Release 1.0.30
2020-09-19 11:48:47 +05:00
evpobr
837c4864b3
Fix CMake policy CMP0091 handling
...
Avoid unknown policy error.
Related to #546 .
2020-09-17 19:33:38 +05:00
Gisle Vanem
03bcd1dfff
Fix sndfile-regtest paths handling on Windows platform
2020-09-11 13:50:02 +05:00
Gisle Vanem
d8f82d88dc
src/sf_unistd.h: Improve MinGW support
2020-09-10 13:41:16 +05:00
evpobr
317a16a12f
src/sndfile.h.in: SF_COUNT_MAX define tweaks
...
* Drop special condition for VC <= 2003
* Fix SF_COUNT_MAX redefine in config.h
2020-09-10 13:23:39 +05:00
Gisle Vanem
fe9971fa28
[Win32] Fix for MSVC
...
* A `_MSCVER` ha never been a built-in for the MSVC compiler.
* Simply use the same `SF_COUNT_MAX` for all MSVC compilers.
2020-09-10 12:22:51 +05:00
evpobr
60ea132bf3
src/config.h.cmake: Remove obsolete unused define
2020-09-09 14:46:53 +05:00
evpobr
2b4cc4b273
src/file_io.c: Refactor includes
...
Fix VS and VS Code IntelliSense.
2020-09-09 11:02:18 +05:00
Arthur Taylor
e5f9469a82
Opus: Fix integer bug in header parsing. Fixes issue #581 .
...
Fix errors in parsing an OggOpus header packet where aliased pointers of
different type widths are used with psf_binheader_readf(), resulting in
incorrect data or endian issues. Telling psf_binheader_readf() to read
an integer of fixed width, but then passing a pointer to an integer
of a different width is a bug.
2020-09-09 08:37:06 +05:00
evpobr
3a5ba5a260
src/wavlike.c: Fix memory leak in wavlike_read_bext_chunk()
...
Credit to OSS-Fuzz.
2020-09-08 12:12:33 +05:00
evpobr
e40b5c892f
doc/api.html: Fix typo
2020-09-07 19:59:40 +05:00
evpobr
76215098ce
src/sfendian.h: Fix condition
2020-09-06 09:54:04 +05:00
evpobr
9aefb7b037
src_unistd.h: Fix testing with MSVC in debug mode
2020-09-05 18:23:40 +05:00
evpobr
85be745cec
Add Visual Studio 2019 Git ignore rules
2020-09-05 09:47:15 +05:00
evpobr
e01ee91591
Fix Clang warnings
2020-09-04 10:03:09 +05:00
evpobr
8993979891
src/avr.c: Fix undefined behavior
...
if hdr.rez < 0.
2020-09-03 15:48:39 +05:00
evpobr
932aeadf12
src/file_io.c: Fix compiler warning on MinGW platform
...
No `WINAPI_PARTITION_SYSTEM` define on MinGW platform.
Related to #584 .
2020-09-02 10:47:16 +05:00
Max Dymond
ca25b0a9c2
OSS-Fuzz - enable building in Github Actions CI
2020-09-02 10:09:39 +05:00
evpobr
90630808aa
src/pcm.c: Constify some functions
2020-09-01 11:54:52 +05:00
evpobr
20c7a15ea1
src/pcm.c: Refactor tribyte type
2020-09-01 11:32:15 +05:00
evpobr
9f11011bc4
Fix possible memory leaks
2020-09-01 10:20:23 +05:00
evpobr
3cf7b3ec75
src/sfendian.h: Constify psf_get_XXX functions
2020-09-01 09:48:21 +05:00
evpobr
17d9198cd4
src/sfendian.h: improve endswap macros set
...
* Fix asm-optimized branch neved used (redefined by ENDSWAP_X
macros below).
* Reorganize standalone ifdefs to conditional flow.
* Add __has_builtin brach for modern compilers to use builtin
GCC-compatible intrinsics.
2020-09-01 09:21:35 +05:00
evpobr
2dd75e9108
src/file_io.c: Improve UWP support
2020-09-01 08:45:01 +05:00
evpobr
a9f4037de1
Fix warnings reported by Clang 10
2020-08-31 16:59:01 +05:00
evpobr
fe50b95615
CMake: Fix MinGW with Clang compiler warnings
2020-08-31 09:30:42 +05:00
evpobr
22fca506cf
CMake: Fix manpages installation on some platforms
...
Two manpages are installed by Autotools as symlinks, on some platforms
they are not visible and installation fails with error.
Install these files with renaming to avoid errors.
Related to edc513a
, #m-ab-s/media-autobuild_suite#1801
2020-08-29 17:27:06 +05:00
evpobr
b329ba64ab
Fix file descriptor leaks in sf_close_fd() function
...
Closes: https://github.com/erikd/libsndfile/pull/566
2020-08-29 10:10:17 +10:00
Jeremy Friesner
25b5476a47
sd2: Avoid infinite loops on some pathological files
...
Closes: https://github.com/erikd/libsndfile/issues/340
Closes: https://github.com/erikd/libsndfile/pull/572
2020-08-29 10:10:17 +10:00
Max Dymond
e6eba62e78
Disable extra libraries to get ossfuzz working in the ossfuzz pipelines
...
Closes: https://github.com/erikd/libsndfile/pull/578
2020-08-29 10:10:17 +10:00
Max Dymond
da21430ce6
Don't use --enable-werror in OSS-Fuzz job
...
Fixes #576
Don't use --enable-werror for OSS Fuzz CI at the moment so that OSS-Fuzz can compile things
2020-08-28 18:25:03 +05:00
evpobr
f284bdf589
CMake: Use target_link_options() to add link flags
2020-08-28 15:16:53 +05:00
Max Dymond
20c65fecd9
Add ossfuzz support for libsndfile
...
Fixes #476
Add a fuzzer (`sndfile_fuzzer`) which can be compiled and run
by the OSS-Fuzz infrastructure.
2020-08-28 14:41:37 +05:00
evpobr
0642efd52e
CI: Wrap some very long lines
2020-08-28 13:10:19 +05:00
evpobr
606018cf00
CI: Shorten job names
2020-08-28 13:10:19 +05:00
evpobr
54e319aeb1
CI: Add shared builds
2020-08-28 13:10:19 +05:00
evpobr
499514c544
CI: Make verbose Linux builds
2020-08-28 12:16:34 +05:00
evpobr
62868cede0
CMake: Add INSTALL_MANPAGES option
...
msys2/MINGW-packages#6877
2020-08-28 09:56:13 +05:00
evpobr
6a8f79044a
CMake: Fix ENABLE_COMPATIBLE_LIBSNDFILE_NAME option
...
msys2/MINGW-packages#6877
2020-08-28 09:44:11 +05:00
evpobr
edc513af20
CMake: Install two forgotten man pages
...
msys2/MINGW-packages#6877
2020-08-28 09:36:13 +05:00
evpobr
a722c93f69
CMake: Fix broken ABI on Unix-like platforms
...
Closes #567 .
2020-08-27 13:21:12 +05:00
evpobr
c142c18a35
doc/api.html: Explain sf_read_XXX behaviour
...
Closes #454 .
2020-08-26 12:46:14 +05:00
evpobr
ee57a6fcd0
README.md: Remove experimental CMake status
2020-08-26 12:24:11 +05:00
evpobr
acfcd147da
Move public headers to include directory
2020-08-26 11:59:26 +05:00
evpobr
8bff71c07f
CI: Don't terminate all jobs on first job failure
2020-08-25 16:29:38 +05:00
evpobr
70472176a3
src/sfendian.h: Fix bunch of conversion warnings
...
Hundreds conversion warnings with MSVC compiler.
2020-08-24 15:13:00 +05:00