summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* include/share/endswap.h : Fix usage of HAVE_BSWAP16.Erik de Castro Lopo2014-11-121-1/+1
| | | | | The code was incorrectly using #ifndef on a value that was always defined to a value of either 0 or 1.
* Update documentation for new compression presetsMartijn van Beurden2014-11-111-21/+21
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Use a configure check for bswap16 instead of gcc version #ifdefs.Ralph Giles2014-11-041-1/+1
| | | | | | Fixes a build problem on apple clang. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Windows specific vsnprintf fixes.Erik de Castro Lopo2014-09-221-0/+2
| | | | | | | | | | | | | * Changes flac_snprintf (in src/share/grabbag/snprintf.c) and its copy local_snprintf (src/libFLAC/metadata_iterators.c) to be almost sane. * Adds flac_vsnprintf (src/share/grabbag/snprintf.c) and its copy local_vsnprintf (src/share/win_utf8_io/win_utf8_io.c). * Changes stats_print_info in src/flac/utils.c so it uses flac_vsnprintf instead of vsnprintf. This makes return value checking unnecessary. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Add partial_tukey and punchout_tukey apodization functionsMartijn van Beurden2014-09-221-2/+23
| | | | | | | | | | | | | | | | | | | | Adds two new apodization functions that seem to perform better than the apodization functions currently in the codebase and fixes three existing windows as well. Its important to note that this patch only affects the encoder stage that evaluates various possible predictors. Audio encoded with these new windows will still decode with existing legacy decoders. = Theory = These functions are used to window the audio data at the predictor stage. These news functions enable the use of only part of the signal to generate a predictor. This helps because short transients can introduce noise into the predictor. The predictor becomes very good at prediciting one part of the signal, instead of mediocre for the whole block. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>