Age | Commit message (Collapse) | Author |
|
|
|
This requires that many other files include config.h themselves.
Also convert <config.h> to "config.h".
|
|
Use the proper function for common memory operations (memset() for
zeroing, memcpy() for copying, memmove() for moving), instead of
looping through arrays.
By extension, remove loops to reset arrays when they were allocated
with calloc() and thus already zeroed.
|
|
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: 7848
CVS date: 2006/01/27 07:46:09
|
|
- added one plural
- sync po-files
CVS patchset: 7822
CVS date: 2005/12/12 15:43:57
|
|
CVS patchset: 7681
CVS date: 2005/07/26 17:55:50
|
|
- 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
|
|
CVS patchset: 7642
CVS date: 2005/07/16 16:36:59
|