<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/post/audio, branch 1.1.16</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...</title>
<updated>2008-11-20T19:56:19+00:00</updated>
<author>
<name>František Dvořák</name>
<email>valtri@civ.zcu.cz</email>
</author>
<published>2008-11-20T19:56:19+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=ea2b5508e35f5125fd65730822b30bb8895ad87d'/>
<id>ea2b5508e35f5125fd65730822b30bb8895ad87d</id>
<content type='text'>
Add warning flags to the DEBUG_CFLAGS too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add warning flags to the DEBUG_CFLAGS too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark initialisation functions with malloc attribute.</title>
<updated>2008-05-23T18:07:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-23T18:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=08c066cac2efdfcf569e47609e9e1b0a947ce129'/>
<id>08c066cac2efdfcf569e47609e9e1b0a947ce129</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid loop for common memory operations (zeroing, copying, moving).</title>
<updated>2008-05-09T15:51:40+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T15:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=902d66eb8304ccffdb683b7130e9f548011b8d30'/>
<id>902d66eb8304ccffdb683b7130e9f548011b8d30</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete most of the CVS $Id$/$Log$ lines.</title>
<updated>2007-11-10T22:06:10+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-11-10T22:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3c175fd21df04c5c0afa160f81aea0c305f69dc5'/>
<id>3c175fd21df04c5c0afa160f81aea0c305f69dc5</id>
<content type='text'>
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
</pre>
</div>
</content>
</entry>
<entry>
<title>Update FSF address on non-contributed code and COPYING files.</title>
<updated>2007-11-09T17:11:05+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2007-11-09T17:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c8f3cd1faf678b64920ad62f1275b03aae0157a7'/>
<id>c8f3cd1faf678b64920ad62f1275b03aae0157a7</id>
<content type='text'>
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround for recent glibc &amp; -D_FORTIFY_SOURCE=2 (defines open() as a macro).</title>
<updated>2007-08-15T15:38:46+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-08-15T15:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=5bd10cf74df979e611d69db0d5563b9d0854f884'/>
<id>5bd10cf74df979e611d69db0d5563b9d0854f884</id>
<content type='text'>
According to bug 1773769, this breaks foo-&gt;open().
The fix (as used in Ville Skyttä's patch, which doesn't cover all cases) is
to replace this with (foo-&gt;open)().

This patch was generated using
sed -i -re 's/(([[:alnum:]_]+(-&gt;|\.))+open) ?\(/(\1) (/' `grep '[&gt;.]open \?(' include -rIl`
One change (in a comment) is not committed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to bug 1773769, this breaks foo-&gt;open().
The fix (as used in Ville Skyttä's patch, which doesn't cover all cases) is
to replace this with (foo-&gt;open)().

This patch was generated using
sed -i -re 's/(([[:alnum:]_]+(-&gt;|\.))+open) ?\(/(\1) (/' `grep '[&gt;.]open \?(' include -rIl`
One change (in a comment) is not committed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an audio resampling problem which was causing regular clicking.</title>
<updated>2007-08-15T12:42:38+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-08-15T12:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=7047d9e5acf97c91a523c99ccc4b008a35a3e094'/>
<id>7047d9e5acf97c91a523c99ccc4b008a35a3e094</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add $(LTLIBINTL) wherever objdump -R shows a dependency on gettext functions.</title>
<updated>2007-06-09T16:59:03+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-06-09T16:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=89af20ee5fcefa96ac7eaf8ca36c3be72e38ea4f'/>
<id>89af20ee5fcefa96ac7eaf8ca36c3be72e38ea4f</id>
<content type='text'>
Some plugins may have been missed due to them not being built here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some plugins may have been missed due to them not being built here.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark various private arrays, structs &amp; fn parameters as static and/or const.</title>
<updated>2007-04-08T00:12:44+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2007-04-08T00:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=3a233b827783151c4c08985224782f1dcce43a8f'/>
<id>3a233b827783151c4c08985224782f1dcce43a8f</id>
<content type='text'>
Two of the modified files are headers, but each contains definitions as well as
declarations and is only ever used once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two of the modified files are headers, but each contains definitions as well as
declarations and is only ever used once.
</pre>
</div>
</content>
</entry>
</feed>
