Erik de Castro Lopo
a7e3705d05
Move code inside #ifdef _MSC_VER to compat.h.
2012-06-22 16:03:04 +10:00
Erik de Castro Lopo
8749dc278d
Fix building when configured with --disable-shared.
...
The problem was that the function safe_malloc_mul_2op_() was originally
defined as static inline in inclide/share/alloc.h but had to be moved
because GCC was refusing to inline it. Once moved however, static linking
would fail when building the flac executable because the function ended
up beiong linked twice.
2012-06-22 14:23:56 +10:00
Cristian Rodríguez
f029625591
V2: Use a single definition of MIN and MAX in sources
2012-04-06 09:52:06 +10:00
Erik de Castro Lopo
5de949f417
Fix gcc-4.7 compiler warnings.
2012-04-05 21:24:06 +10:00
Erik de Castro Lopo
6c2040dc90
Remove casting of return value from *alloc() functions.
2012-04-04 21:29:25 +10:00
Erik de Castro Lopo
dac99fa20b
Patch from Dave Yeo to remove more CPP hackery.
...
Dave's comments:
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
been replaced by klibc. Considering the age of EMX and lack of testing
and that klibc contains so many improvements I think this is exceptable.
2012-02-08 21:07:08 +11:00
Erik de Castro Lopo
59afe36f71
Add file include/share/compat.h and start moving CPP hackery into it.
2012-02-04 16:13:37 +11:00
Erik de Castro Lopo
6c7568b712
Patch from JonY to suppress redefinition warnings with mingw-w64 lfs64 warnings.
2012-02-04 15:31:28 +11:00
Felipe Contreras
6c8d740c1a
Coverity fixes
...
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com >
2011-08-25 23:28:06 -07:00
Josh Coalson
dea0f5a044
add 2009 copyright
2009-01-07 07:31:28 +00:00
Josh Coalson
82b128050e
update copyright for 2008
2008-02-28 05:34:21 +00:00
Josh Coalson
504dcafeb4
minor comments
2007-09-13 15:42:47 +00:00
Josh Coalson
0f008d2e9e
extra checking on memory allocation sizes to prevent a class of overflow attacks
2007-09-11 04:49:56 +00:00
Josh Coalson
4e56b06d63
add FLAC__metadata_simple_iterator_get_application_id()
2007-08-15 05:59:09 +00:00
Josh Coalson
09ccf20ae6
add FLAC__metadata_simple_iterator_get_block_offset(), FLAC__metadata_simple_iterator_get_block_length(), FLAC__metadata_simple_iterator_is_last()
2007-08-14 00:34:50 +00:00
Josh Coalson
f9cf27fcc8
prototype-related fixes
2007-07-25 03:11:00 +00:00
Josh Coalson
e74bd9516c
add 2007 copyright
2007-02-02 06:58:19 +00:00
Josh Coalson
37d9fb1a89
bump requisite _MSC_VER to <=1600 for fseeko/ftello hack
2007-01-31 05:37:20 +00:00
Josh Coalson
e3ec2ad59e
convert C prototypes for functions with no args from () to (void)
2007-01-31 03:53:22 +00:00
Josh Coalson
2beca73003
patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478 )
2006-11-21 01:51:58 +00:00
Josh Coalson
7581d121c1
patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478 )
2006-11-20 07:19:15 +00:00
Josh Coalson
b0627a4e42
fixes from MSVC compile
2006-11-17 06:05:02 +00:00
Josh Coalson
7d273b4bdb
add support for read-only operations for ogg flac to chain interface
2006-11-15 06:12:30 +00:00
Josh Coalson
acd4a4345e
fix compiler warnings
2006-11-11 22:43:25 +00:00
Josh Coalson
fb84f25bc1
minor syntax
2006-11-09 06:53:10 +00:00
Josh Coalson
825e72cf57
try to limit the #defines (of fseeko to fseek and ftello to ftell) to just the versions of MSVC that appear not to have fseeko()/ftello()
2006-10-03 01:16:59 +00:00
Josh Coalson
74ed294764
add number-of-colors field to PICTURE metadata block
2006-09-23 23:15:05 +00:00
Josh Coalson
e343ab2b87
add support for new PICTURE metadata block
2006-09-23 19:21:19 +00:00
Josh Coalson
c0da196166
minor comments
2006-09-16 00:07:20 +00:00
Josh Coalson
6b21f66784
merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH
2006-09-13 01:42:27 +00:00
Josh Coalson
b1ec796bda
complete largefile support
2006-05-24 04:41:36 +00:00
Josh Coalson
0395dac13f
add 2206 to copyright notice
2006-04-25 06:59:33 +00:00
Josh Coalson
7cfac0b146
add FLAC__metadata_get_cuesheet() and FLAC__metadata_object_cuesheet_calculate_cddb_id()
2006-04-10 05:37:34 +00:00
Josh Coalson
e9a638d004
add support for building on os/2 with emx
2005-09-03 03:54:16 +00:00
Josh Coalson
a78fac662c
add 2005 to copyright notices
2005-01-25 04:17:55 +00:00
Josh Coalson
def597ee59
additions to metadata object api: more vorbiscomment functions, trailing-null on vorbis comment field values enforced everywhere
2004-12-30 00:59:30 +00:00
Josh Coalson
9aac670eea
fix bug: source file needs to be explicitly rewound before reading/writing in callback mode
2004-09-08 00:50:21 +00:00
Josh Coalson
1aca6b114b
add FLAC__metadata_get_tags(), FLAC::Metadata::get_tags()
2004-07-30 01:54:29 +00:00
Josh Coalson
b0be1e87bd
remove unused variables
2004-07-16 00:18:11 +00:00
Josh Coalson
0e46bf5624
do not close any file handles in the callback-based chain reading/writing
2004-07-15 00:04:46 +00:00
Josh Coalson
028d97ee7b
fix bug in FLAC__metadata_chain_check_if_tempfile_needed()
2004-07-14 00:49:56 +00:00
Josh Coalson
463a22cc3a
add callback-based versions of chain writing: FLAC__metadata_chain_check_if_tempfile_needed(), FLAC__metadata_chain_write_with_callbacks(), FLAC__metadata_chain_write_with_callbacks_and_tempfile()
2004-07-11 06:41:00 +00:00
Josh Coalson
91748beb86
add FLAC__metadata_chain_read_with_callbacks()
2004-07-10 22:28:03 +00:00
Josh Coalson
ea25cb3615
begin addition of callback-based option to metadata interfaces; start by converting chain reader to callback-based
2004-07-10 00:39:01 +00:00
Josh Coalson
9564390fb9
update copyright to 2004
2004-01-17 04:14:43 +00:00
Josh Coalson
afd8107872
change license verbiage to Xiph's
2003-01-31 23:34:56 +00:00
Josh Coalson
f0a8c4fc87
minor comments
2003-01-15 03:17:51 +00:00
Josh Coalson
8dea208c85
Second patch from X-Fixer: tweaks for better MSVC build
2003-01-14 09:05:41 +00:00
Josh Coalson
ccce9edb35
fix bug with some assertions
2003-01-13 02:06:40 +00:00
Josh Coalson
d060947ce9
big fix to allow codec and metadata interface to handle unknown metadata block types correctly
2003-01-10 05:37:13 +00:00