summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* include: Escape number signs to suppress warningsNotTsunami2019-11-193-9/+9
| | | | | | | | Doxygen sees '#' as a cross-reference, which this is not in this case. This will silence the following warning that pops up frequently when building with docs: warning: explicit link request to 'defines' could not be resolved The code shorthand tag was removed in include\FLAC\all.h to remain synonymous with other mentions of #define.
* Fix msvc build after commit b917d456sezero2019-10-191-8/+11
| | | | Closes: https://github.com/xiph/flac/issues/152
* Replace unsigned with uint32_t in prototypes; Fixes DJGPP builds.NY001232019-10-192-4/+4
|
* make dllexport work with compilers other than MSVCsezero2019-10-102-2/+2
| | | | | | | | 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-0/+10
|
* Fix a number of gcc 9.2 compiler warningsErik de Castro Lopo2019-09-151-1/+3
|
* Fix function redefinition on arm-none-eabi compilersoreo6392019-09-154-9/+9
|
* Switch to utimensat for newer POSIX versionsRosen Penev2019-08-201-1/+9
| | | | | | | | 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.
* Move CreateFile_utf8 function to a more logical placelvqcl2018-08-252-5/+3
|
* move CreateFile function outside of libFLAClvqcl2018-08-193-8/+5
|
* Fix miscellaneous typos.luz.paz2018-05-245-5/+5
| | | | Found via `codespell -q 3`
* Fix for missing WINAPI_FAMILY_PARTITIONErik de Castro Lopo2018-02-101-0/+4
| | | | This is macro identifier is not defined, define it to `0`.
* FLAC++: Add missing prototype for construct_blockThomas Zander2017-06-231-0/+9
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix missing SIZE_MAX definition on AndroidErik de Castro Lopo2017-05-031-0/+4
|
* Fix typos in header filesErik de Castro Lopo2017-03-213-3/+3
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* stream_decoder.h: Fix Reference to Non-Existent FunctionsKeegan Drake H.P2017-03-161-2/+1
| | | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Closes: https://github.com/xiph/flac/pull/31
* stream_decoder.h: Fix References to ``stdout''Keegan Drake H.P2017-03-161-2/+2
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* stream encoder: fix documentation inconsistenciesChristian Stadelmann2017-02-131-3/+3
| | | | | | Fixes https://sourceforge.net/p/flac/bugs/452/ Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix compile with cygwinRosen Penev2017-02-091-1/+1
| | | | | | | | | The underscores are wrong. The comment is also correct. Also remove the configure.ac option. Otherwise it tries to compile the windows unicode stuff which POSIX(cygwin) does not understand. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* include/share/compat.h: Only define inline for CErik de Castro Lopo2017-01-241-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Do not override CFLAGS, as CFLAGS is a user flag.David Seifert2017-01-191-1/+1
| | | | | | | | | * Furthermore, use NDEBUG globally to detect the presence of building with more debug output information. AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays Gnome has also switched to it from its own custom solution. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Add missing file include/share/msvc2005_int.hErik de Castro Lopo2017-01-191-0/+53
|
* stdint.h fixes for MSVS 2005/2008Erik de Castro Lopo2017-01-193-17/+9
| | | | | | | 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>
* metadata.h: Fix search/replace typo in commentsErik de Castro Lopo2017-01-171-1/+1
|
* Yet more unsigned fixesErik de Castro Lopo2017-01-161-1/+1
|
* Yet more purging of `unsigned` typeErik de Castro Lopo2017-01-153-101/+101
|
* include/FLAC: More unsigned fixesErik de Castro Lopo2017-01-146-181/+181
| | | | | | These fixes are in the public API, but FLAC would have been extremely unlikely to work in any system where `unsigned` was not 32 bits. Therefore we do not treat this as an API change.
* Another bulk update of copyright datesErik de Castro Lopo2016-12-057-7/+7
|
* Bulk update copyright datesErik de Castro Lopo2016-12-0527-27/+27
|
* libFLAC: Set decoding status if write callback failedErik de Castro Lopo2016-07-131-1/+1
| | | | | | | | Previously, it the write callback failed the error status would be set to `FLAC__STREAM_DECODER_READ_FRAME`. Now it gets set to `FLAC__STREAM_DECODER_WRITE_STATUS_ABORT`. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Another Windows build fixErik de Castro Lopo2016-02-111-2/+0
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* More Windows fixesErik de Castro Lopo2016-02-091-8/+0
| | | | | | These fixes got lost in an earlier commit. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* More `make distcheck` fixesErik de Castro Lopo2016-02-091-0/+69
| | | | | * Add two missing files to repo. * Add files to Makefile.am `EXTRA_DIST` list.
* libFLAC: Remove win_utf8_io dependencyErik de Castro Lopo2016-02-083-13/+13
| | | | Path-from: lvqcl <lvqcl.mail@gmail.com>
* Refactoring of win_utf8_ioErik de Castro Lopo2016-01-312-4/+5
| | | | | | | | * Simplifies *print functions. * Improves file related functions. * Preparation to move all file related functions into libFLAC. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Clean up #includesErik de Castro Lopo2016-01-241-1/+3
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* macros.h: Make FLAC_CHECK_RETURN print to stderrErik de Castro Lopo2016-01-191-2/+6
| | | | | Also comment the fact that this macro should only be used for things that are extremely unlikely to fail.
* libFLAC: Support 64bit brword/bwwordErik de Castro Lopo2016-01-041-1/+5
| | | | | | | This patch allows FLAC__BYTES_PER_WORD to be set to 8, but is disabled by default. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* libFLAC: Tweak MSVC supportErik de Castro Lopo2016-01-041-1/+3
| | | | | | Visual Studio 2013 and newer has better support for C99. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Couple of minor tweaksErik de Castro Lopo2015-12-301-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Whitespace onlyErik de Castro Lopo2015-12-251-2/+2
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Explicitly use base class virtual methods; silence unnecessary warningThomas Zander2015-12-252-0/+4
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Remove (defined _MSC_VER) from cpp workaroundErik de Castro Lopo2015-12-102-4/+4
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* libFLAC: Add function safe_realloc_()Erik de Castro Lopo2015-08-221-2/+12
| | | | | | | | | | The new function wraps, realloc() and if the realloc() fails, it free()s the old pointer. This is an improvement on the potential realloc() memory leak that was fixed in 15a9062609. Still needs fuzzing to validate it.
* Compat: Fix for MSVC deprecated functionsErik de Castro Lopo2015-08-091-1/+4
| | | | | | | According to MSDN, stricmp and strnicmp functions are deprecated since MSVC 2005 and _stricmp/_strnicmp should be used instead. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Update grabbag tests to work out-of-tree.Erik de Castro Lopo2015-02-151-0/+7
|
* Remove traiing whitespace (mostly .c and .h files).Erik de Castro Lopo2014-12-051-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix some minor word duplicationZoë Blade2014-12-034-5/+5
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* More date fixes.Erik de Castro Lopo2014-11-256-6/+6
|
* Update copyright years to include 2014.Erik de Castro Lopo2014-11-2527-27/+27
|