Age | Commit message (Collapse) | Author |
|
|
|
|
|
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
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
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.
|
|
CVS patchset: 8774
CVS date: 2007/03/29 19:45:33
|
|
demuxer/decoder init functions in the combined_wavpack.h header.
CVS patchset: 8699
CVS date: 2007/03/17 07:34:02
|
|
other libraries.
CVS patchset: 8626
CVS date: 2007/02/25 18:02:13
|
|
CVS patchset: 8625
CVS date: 2007/02/25 17:57:04
|
|
CVS patchset: 8624
CVS date: 2007/02/25 17:53:51
|
|
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
|
|
that it can be used whenever necessary.
CVS patchset: 8622
CVS date: 2007/02/25 17:34:48
|
|
CVS patchset: 8568
CVS date: 2007/01/26 18:23:06
|
|
invald streams.
CVS patchset: 8560
CVS date: 2007/01/24 22:03:41
|
|
loops and more mallocs.
CVS patchset: 8559
CVS date: 2007/01/24 21:44:06
|
|
CVS patchset: 8558
CVS date: 2007/01/24 21:42:21
|
|
CVS patchset: 8556
CVS date: 2007/01/24 20:51:04
|
|
decoder, this way the WavPack decoder can be fixed to support multichannel streams.
CVS patchset: 8554
CVS date: 2007/01/24 20:40:11
|
|
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
|