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
evpobr
f7e5bcb5a2
CMake: Fix ENABLE_STATIC_RUNTIME warning
...
Warning about unusable ENABLE_STATIC_RUNTIME appeared on non-MSVC
platforms even if this option was not set.
Related to 26e4737
, #546 ,
2020-08-24 14:33:51 +05:00
evpobr
26e473796c
CMake: Deprecate ENABLE_STATIC_RUNTIME for CMake >=3.15
...
Closes #546 .
2020-08-24 12:58:21 +05:00
evpobr
4f6f65752b
doc/index.html: Extract formats table to formats.html
...
It is too wide for index page, especially for mobile devices.
Now it is moved to formats.html.
2020-08-23 12:27:21 +05:00
evpobr
7eff80f451
doc/api.html: Document the rest of public API
2020-08-23 11:29:57 +05:00
evpobr
e78b35889f
src/common.h: Include inttypes.h first
2020-08-21 11:26:58 +05:00
evpobr
3e2ca0b520
Fix coding style violations
2020-08-21 11:15:15 +05:00
evpobr
fa7c4905e2
CI: Check pull requests too
...
Check not only pushes to master, but also pull requests.
Related to #545 .
2020-08-20 12:51:14 +05:00
evpobr
41bba15973
Fix compiler warnings
...
Fix GCC 10.2.0 with -Wall -Wextra warnings.
src/ogg.c: Fix compiler warning
-Wsign-compare in ogg_stream_seek_page_search().
src/misc_test.c: Fix compiler warnings
-Wunused-parameter, -Wunused-variable in filesystem_full_test().
Windows platforms only.
src/ms_adpcm.c: Fix compiler warnings
-Wmaybe-uninitialized in msadpcm_encode_block().
src/ogg.c: Fix compiler warning
Comparison of distinct pointer types lacks a cast in
ogg_read_first_page().
2020-08-20 12:33:20 +05:00
evpobr
7c6f3fee50
doc/command.html: Fix typos
2020-08-18 13:00:25 +05:00
evpobr
2dd47fcc70
CI: Replace CI workflows with Github Actions
...
Closes #545
2020-08-18 12:18:46 +05:00
evpobr
5520e32b6a
CMake: Add INSTALL_PKGCONFIG_MODULE option
...
Closes #547
2020-08-18 11:28:35 +05:00
evpobr
2bc2d4e4dc
CMake: Fix ENABLE_CPACK option
...
Closes #544
2020-08-18 11:12:56 +05:00
evpobr
55135313d4
Revert "src/pcm.c: Add const to some function parameters"
...
This reverts commit a748bea5f2
.
2020-08-18 09:40:15 +05:00
evpobr
a748bea5f2
src/pcm.c: Add const to some function parameters
2020-08-18 09:05:27 +05:00
evpobr
ccb75f4829
Version 1.0.29
2020-08-15 10:50:52 +05:00
evpobr
9ab0965e88
src/sndfile.h.in: Fix sf_command() description
...
Closes #540 .
2020-08-11 08:41:51 +05:00
evpobr
af49a5021c
CMake fixes
...
* Set static runtime by default for MinGW
Autotools does the same. Also fixes bug - compiler flags for MinGW were
cleared by when ENABLE_STATIC_RUNTIME is OFF (default).
Also ENABLE_STATIC_RUNTIME option disabled for MinGW.
* Better CMake policies handling
* Add SndFile::sndfile alias library
* Don not add programs to package config-file
* Update README.md
* Fix generator expression with src/version-metadata.rc
2020-08-04 15:59:22 +05:00
Nick Henderson
676eb28fc2
README.md: Fix the brew install command
...
'opus' is the name of the Homebrew package for the
Opus codec.
2020-08-03 20:55:51 +05:00
evpobr
73e09a1705
CMake: Fix Vorbis dependency handling
...
* Fix Vorbis not found for CMake < 3.17 (closes #530 )
* Update FindVorbis module documentation
* Remove unused VorbisEnc.cmake
* Fix bug in SndFileConfig.cmake.in
2020-08-02 16:13:38 +05:00
evpobr
7a8149a723
Azure Pipelines CI: Update images
2020-08-02 16:11:11 +05:00
Fabian Greffrath
2ccb23fe72
sfe_copy_data_fp: check value of "max" variable for being normal
...
and check elements of the data[] array for being finite.
Both checks use functions provided by the <math.h> header as declared
by the C99 standard.
Fixes #317
CVE-2017-14245
CVE-2017-14246
2020-06-20 18:18:11 +10:00
Erik de Castro Lopo
422b29c06d
src/sd2.c: Fix parsing of some SD2 files
...
Exit early when Photoshop file is detected.
Closes: https://github.com/erikd/libsndfile/issues/526
2020-06-20 13:45:13 +10:00
Erik de Castro Lopo
de7d60fe6e
src/wavlike.c: Fix compiler warning
...
Closes: https://github.com/erikd/libsndfile/issues/527
2020-06-20 13:45:13 +10:00