Erik de Castro Lopo
f25b2602dc
Fix a couple of Windows 2Gig file size issues.
...
Patch submitted by Janne Hyvärinen <cse@sci.fi >.
2013-03-14 18:22:37 +11:00
Erik de Castro Lopo
a4c321e492
Large patch from Ben Allison fixing the MSVC build.
...
Patch tweaked a little to fix Linux build and clean up minor problems.
2013-03-06 22:17:51 +11:00
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
5b62b770bc
Move all definitions of FLAC__U64L to one place.
2012-06-22 14:52:53 +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
Erik de Castro Lopo
feab11e9bd
Fix FLAC__stream_decoder_delete() and FLAC__stream_encoder_delete()
...
so that they will simply return if passed a NULL pointer (ie just
like the C free() stdlib function).
2012-06-22 13:39:40 +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
6c2040dc90
Remove casting of return value from *alloc() functions.
2012-04-04 21:29:25 +10:00
Erik de Castro Lopo
4dfb536b1d
Patch from JonY to remove more CPP hackery.
2012-02-04 20:47:10 +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
Josh Coalson
dea0f5a044
add 2009 copyright
2009-01-07 07:31:28 +00:00
Josh Coalson
bd161c61fa
Improve decoder's ability to distinguish between a FLAC sync code and an MPEG one (SF #2491433 https://sourceforge.net/tracker2/?func=detail&aid=2491433&group_id=13478&atid=113478
2009-01-07 06:54:05 +00:00
Josh Coalson
82b128050e
update copyright for 2008
2008-02-28 05:34:21 +00:00
Josh Coalson
5983060225
remove obsolete comment reference to end of stream checking in seek routine
2007-09-13 15:42:27 +00:00
Josh Coalson
902e8d6b44
fix seek bug with ogg flac and small streams (SF#1792172: http://sourceforge.net/tracker/index.php?func=detail&aid=1792172&group_id=13478&atid=113478 )
2007-09-11 07:34:45 +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
5637824596
OS/2 fixes (SF#1771378: https://sourceforge.net/tracker/index.php?func=detail&aid=1771378&group_id=13478&atid=113478 )
2007-08-29 00:49:37 +00:00
Josh Coalson
d54eb03dd6
fixed very rare seek bug (SF#1684049: https://sourceforge.net/tracker/index.php?func=detail&aid=1684049&group_id=13478&atid=113478 )
2007-08-29 00:45:01 +00:00
Josh Coalson
6aa4348d01
minor OPT tweaks
2007-07-23 16:14:31 +00:00
Josh Coalson
50bf3debb4
comment out some optimized branch
2007-07-16 06:04:28 +00:00
Josh Coalson
224177c389
fix bug where invalid seek tables could cause some seeks to fail
2007-07-10 02:08:51 +00:00
Josh Coalson
11d01591a9
minor comments
2007-07-07 04:30:11 +00:00
Josh Coalson
b47ab0d250
merge decoder part from RICE_EXT_BRANCH: blocking strategy bit, new rice2 ecm, frame header support for 88.2/176.4/192kHz, new reserved bit, deprecated blocksize-from-streaminfo bit
2007-06-16 00:50:28 +00:00
Josh Coalson
ddddff6a56
add FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap()
2007-03-22 03:22:27 +00:00
Josh Coalson
099a2893da
minor tweaks to private md5 interface
2007-03-14 07:58:19 +00:00
Josh Coalson
37a4f27c2b
pass cpu info into bitreader
2007-03-13 16:13:52 +00:00
Josh Coalson
3847879a55
slight optimization to conversion of M/S->L/R
2007-03-12 07:23:22 +00:00
Josh Coalson
10a6840138
comments
2007-03-07 05:36:43 +00:00
Josh Coalson
8534bbe4e9
minor comments
2007-02-28 01:10:21 +00:00
Josh Coalson
9bedd7827c
fix compiler warnings
2007-02-22 01:37:33 +00:00
Josh Coalson
dc2b03b241
change default blocksize from 4608 to 4096 for LPC mode
2007-02-06 05:02:46 +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
423f804d50
several speed improvements: completely rewritten bitbuffer which uses native machine word size instead of bytes; much faster rice partition size estimation; crc16 calculation in machine word size
2007-01-28 17:40:26 +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
f1ac7d9bde
make "#if FLAC__HAS_OGG" checking consistent
2006-11-16 07:20:09 +00:00
Josh Coalson
80011e40ab
minor comments
2006-11-16 01:35:21 +00:00
Josh Coalson
e58aabdb75
fixes from MSVC6
2006-11-14 05:40:34 +00:00
Josh Coalson
fb84f25bc1
minor syntax
2006-11-09 06:53:10 +00:00
Josh Coalson
8295fd03b6
fixes for new seeking algorithm
2006-11-08 17:07:58 +00:00
Josh Coalson
3571f9c5fd
new seek algorithm for native FLAC from Miroslav
2006-11-06 16:48:33 +00:00
Josh Coalson
2dd9d916f6
minor comments
2006-11-04 03:03:02 +00:00
Josh Coalson
32637e0efd
fixes for MSVC6
2006-10-16 15:49:17 +00:00
Josh Coalson
8065a2d3a5
change "bytes" parameter of all read callbacks from "unsigned" to "size_t"
2006-10-15 08:32:56 +00:00
Josh Coalson
71d5c256f5
rename set_serial_number to set_ogg_serial_number everywhere
2006-10-15 06:04:55 +00:00
Josh Coalson
15b8eb8a87
fix to ogg-less building
2006-10-15 05:15:55 +00:00
Josh Coalson
8da98c897b
merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work
2006-10-15 04:24:05 +00:00
Josh Coalson
f461a7bd5d
enable file feof callback when input is stdin
2006-10-10 00:39:27 +00:00
Josh Coalson
afce1aeba8
fix bug in code that skips id3v2 tags at the front of a file; false positives could cause decoding to fail
2006-10-06 06:21:41 +00:00