Martijn van Beurden
10d7ce268b
Bulk update copyright dates to 2022
2022-07-26 16:23:07 +02:00
Martijn van Beurden
dd4a263406
Remove Makefile.lite build system
2022-05-27 21:59:32 +02:00
Martijn van Beurden
e0e9cc58b4
Remove all Visual Studio specific build files
2022-05-27 21:59:32 +02:00
Martijn van Beurden
a67102694d
Add extra check to decoding cpp example like in 93846ee
...
This fixes https://github.com/xiph/flac/issues/162
See also https://sourceforge.net/p/flac/bugs/418/
2022-05-23 06:53:07 +02:00
Andrey Astafyev
a9557c13fa
examples: Fix error condition processing
...
Don't attempt to attach failed metadata objects. This also avoids
clobbering the error flag if attaching the objects should succeed.
There may still be problems later, for example calling _delete()
on a possibly null metadata object pointer, but this it at least
and improvement in the compromise between error handling and
readability in C.
Signed-off-by: Ralph Giles <giles@thaumas.net >
2021-06-23 13:24:22 -07:00
evpobr
e0b62a61a7
Bunch of CMake fixes
...
* Add more Git ignore patterns
* Fix Ogg dependency handling (closes #203 )
* Remove unneeded compiler flag (closes #204 )
* Fix Visual Studio DLL build error error C2491:
'flac_internal_rename_utf8': definition of dllimport function not
allowed (closes #205 )
* Add alias targets
* Reduce number of CMake files
* Improve CMake intrinsics detection
2020-05-03 17:13:50 +10:00
Andrey Astafyev
a3d8927c2b
Correct printf specifiers to unsigned int where needed
2019-12-09 06:13:11 +11:00
Erik de Castro Lopo
6d0e222a6e
Make sure CMake build files end up in release tarball
2019-10-01 08:18:28 +10:00
Vitaliy Kirsanov
573dbc12ae
Use of BUILD_SHARED_LIBS added
2019-05-04 11:41:48 +10:00
Vitaliy Kirsanov
2359563a46
FLAC now depends on win_utf8_io
...
Accidently found this missing dependency
2019-05-04 11:41:48 +10:00
Vitaliy Kirsanov
c39718d7a3
CMake support added
2019-05-04 11:41:48 +10:00
Erik de Castro Lopo
1e9e707c6f
stdint.h fixes for MSVS 2005/2008
...
This adds a new msvc2005_int.h header file which is "force included"
as needed by the MSVS project file.
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2017-01-19 06:33:33 +11:00
Erik de Castro Lopo
71b909b7a4
Yet more purging of unsigned type
2017-01-15 09:48:42 +11:00
Erik de Castro Lopo
6a5fe43b7e
Bulk update copyright dates
2016-12-05 06:35:39 +11:00
Erik de Castro Lopo
d40a6bc695
libFLAC: Remove win_utf8_io dependency
...
Path-from: lvqcl <lvqcl.mail@gmail.com >
2016-02-08 22:04:12 +11:00
Thomas Zander
c05b7babed
Makefile.lite: Include config.mk from top level build dir
...
Makefile.lite in libs/executables subdirs must include
top level's config.mk to allow variables defined there (OS, PROC)
to be used; otherwise e.g. EXPLICIT_LIBS is not set and link
fails on Darwin.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com >
2015-10-30 20:21:26 +11:00
Erik de Castro Lopo
eb753ae5b4
Remove traiing whitespace (mostly .c and .h files).
...
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-12-05 05:52:30 +11:00
Erik de Castro Lopo
71b5c02870
examples/*/Makefile.am : Add CLEANFILES line to remove Windows .exe files.
2014-11-27 13:40:37 +11:00
Erik de Castro Lopo
1437391577
Update copyright years to include 2014.
2014-11-25 13:04:30 +11:00
Erik de Castro Lopo
93846ee223
examples/c/decode/file/main.c : Add extra error handling.
...
Michele Spagnuolo provided a file that initially had frames with two
channels but then had a frame with a single channel. This example
program only supports exactly two channels and previously had
insufficient validation.
Closes: https://sourceforge.net/p/flac/bugs/418/
Reported-by: Michele Spagnuolo,
Google Security Team <mikispag@google.com >
2014-11-20 21:46:57 +11:00
Erik de Castro Lopo
31948291a2
Makefile.ams: Add MSVS project files to EXTRA_DIST.
...
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-07-09 19:02:35 +10:00
Erik de Castro Lopo
d043785d41
Add project files for Visual Studio 2010 and later.
...
Also allows building for x86-64 Windows.
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-07-06 20:48:53 +10:00
Erik de Castro Lopo
46bedb58d3
Update URLs as nedeed.
...
Sourceforge.net links updated as nedeed with some of them
being changed to point to xiph.org/flac.
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-06-28 09:12:45 +10:00
Evan Ramos
9df6736ec0
Update Makefile.lite build system.
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com >
2014-06-24 21:02:24 +10:00
Erik de Castro Lopo
006b8356d5
Fix all instances of '#if HAVE_CONFIG_H'.
...
Should be '#ifdef HAVE_CONFIG_H'.
Closes: https://sourceforge.net/p/flac/bugs/410/
2014-03-24 12:06:49 +11:00