Age | Commit message (Collapse) | Author |
|
This requires that many other files include config.h themselves.
Also convert <config.h> to "config.h".
|
|
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
|
|
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.
|
|
The cause was that the resampling code was using only the samples in the buffer
but not really handling the transition between two buffers (which it would
handle completely independently). The new code remembers the last sample from
the previous buffer and uses it in the resampling. We therefore end up one
sample behind and without the clicks.
|
|
CVS patchset: 7848
CVS date: 2006/01/27 07:46:09
|
|
- upmix_mono: use default's port names ("audio in", "audio out").
i know that video post plugin like to name their ports differently, but
having standard names can make frontends' job easier when figuring out how
to wire plugins. i just won't change the existing plugins to not break
compatibility with frontends that might use them already...
CVS patchset: 7643
CVS date: 2005/07/16 17:00:50
|
|
gcc4 patches from Dams Nadé (livna.org) and Keenan Pepper.
CVS patchset: 7527
CVS date: 2005/05/07 09:11:37
|
|
CVS patchset: 7087
CVS date: 2004/10/29 23:11:37
|
|
(in case of major trouble just revert the patch i sent to xine-devel)
CVS patchset: 6871
CVS date: 2004/08/02 12:51:07
|
|
* do not use void* in pointer arithmetics, since sizeof(void) is undefined
-> I converted the pointers to int16_t* since that is common for audio
samples in xine and casted them back to uint8_t* for the arithmetics
CVS patchset: 6858
CVS date: 2004/07/27 17:59:58
|
|
CVS patchset: 6856
CVS date: 2004/07/26 22:34:00
|
|
CVS patchset: 6855
CVS date: 2004/07/26 22:23:34
|