summaryrefslogtreecommitdiff
path: root/src/combined/decoder_wavpack.c
AgeCommit message (Collapse)Author
2010-02-03Kill a "missing return" warning.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-08-15Workaround for recent glibc & -D_FORTIFY_SOURCE=2 (defines open() as a macro).Darren Salt
According to bug 1773769, this breaks foo->open(). The fix (as used in Ville Skyttä's patch, which doesn't cover all cases) is to replace this with (foo->open)(). This patch was generated using sed -i -re 's/(([[:alnum:]_]+(->|\.))+open) ?\(/(\1) (/' `grep '[>.]open \?(' include -rIl` One change (in a comment) is not committed.
2007-03-29Reorder fields to fill hole.Diego 'Flameeyes' Pettenò
CVS patchset: 8774 CVS date: 2007/03/29 19:45:33
2007-03-17Cleanup wavpack plugin, include config.h when needed, declare ↵Diego 'Flameeyes' Pettenò
demuxer/decoder init functions in the combined_wavpack.h header. CVS patchset: 8699 CVS date: 2007/03/17 07:34:02
2007-02-25Instead of __unused, use __attr_unused, to avoid possible collisions with ↵Diego 'Flameeyes' Pettenò
other libraries. CVS patchset: 8626 CVS date: 2007/02/25 18:02:13
2007-02-25Cleanup unused variables.Diego 'Flameeyes' Pettenò
CVS patchset: 8625 CVS date: 2007/02/25 17:57:04
2007-02-25Remove a pointless else clause.Diego 'Flameeyes' Pettenò
CVS patchset: 8624 CVS date: 2007/02/25 17:53:51
2007-02-25Use a bitmask, and ensure that the values reported by wavpack for ↵Diego 'Flameeyes' Pettenò
bits_per_sample and channels (that have sane limits) are inside the boundaries, this way we don't end up eating memory in the case of a malformed wavpack file. While we're at it, also try to compact the size of the wavpack structures. CVS patchset: 8623 CVS date: 2007/02/25 17:52:16
2007-02-25Instead of replicating it over and over, define __unused in attributes.h so ↵Diego 'Flameeyes' Pettenò
that it can be used whenever necessary. CVS patchset: 8622 CVS date: 2007/02/25 17:34:48
2007-01-26Fix warning with LOG enabled.Diego 'Flameeyes' Pettenò
CVS patchset: 8568 CVS date: 2007/01/26 18:23:06
2007-01-24Put a non-stream buffer when there's an error, so that xine does not lock on ↵Diego 'Flameeyes' Pettenò
invald streams. CVS patchset: 8560 CVS date: 2007/01/24 22:03:41
2007-01-24Don't limit to 4096 samples if there's space to decode more, avoid more ↵Diego 'Flameeyes' Pettenò
loops and more mallocs. CVS patchset: 8559 CVS date: 2007/01/24 21:44:06
2007-01-24Zero out the error array, so that we don't have false positives.Diego 'Flameeyes' Pettenò
CVS patchset: 8558 CVS date: 2007/01/24 21:42:21
2007-01-24Replace my email address with a more generic one.Diego 'Flameeyes' Pettenò
CVS patchset: 8556 CVS date: 2007/01/24 20:51:04
2007-01-24Remove the workaround for FFmpeg decoding, pass the complete header to the ↵Diego 'Flameeyes' Pettenò
decoder, this way the WavPack decoder can be fixed to support multichannel streams. CVS patchset: 8554 CVS date: 2007/01/24 20:40:11
2007-01-24Create a new wavpack plugin with both the old demuxer and a new decoder. To ↵Diego 'Flameeyes' Pettenò
simplify categorising, I've created a new combined directory to put plugins like wavpack (or libflac) that carries both a demuxer and a decoder in a single bundle -- I expect it being used more in the future. CVS patchset: 8551 CVS date: 2007/01/24 04:57:26