<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/lib/rbcodec/codecs/libasap, branch duke3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>Fix codecs in simulator builds on Windows</title>
<updated>2017-01-15T20:46:19+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-15T16:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=16d1788356e82c639302a884437341e039574822'/>
<id>16d1788356e82c639302a884437341e039574822</id>
<content type='text'>
The mingw linker uses strlen() in some cases, and codeclib.c redefines it, that
leads to mingw runtime init to call into our strlen() and then ci-&gt;strlen() which
of course crashes. Apply the same fix as for malloc and friends: rename the symbol.

The codeclib.h include is necessary for normal builds.

Change-Id: Ifa85901a3e4a31cc0e10b4b905df348a239d5c99
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mingw linker uses strlen() in some cases, and codeclib.c redefines it, that
leads to mingw runtime init to call into our strlen() and then ci-&gt;strlen() which
of course crashes. Apply the same fix as for malloc and friends: rename the symbol.

The codeclib.h include is necessary for normal builds.

Change-Id: Ifa85901a3e4a31cc0e10b4b905df348a239d5c99
</pre>
</div>
</content>
</entry>
<entry>
<title>asap codec: remove invalid memset</title>
<updated>2012-05-07T03:38:15+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>funman@videolan.org</email>
</author>
<published>2012-05-07T03:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=5aadf87e9863dae8ea0858657a479b41a14516cc'/>
<id>5aadf87e9863dae8ea0858657a479b41a14516cc</id>
<content type='text'>
This would zero the first 4 or 8 bytes of the array because it is declared as a pointer

rockbox/lib/rbcodec/codecs/libasap/asap.c:1229:44: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
    memset(ast -&gt; memory, 0, sizeof(ast -&gt; memory));
           ~~~~~~~~~~~~~            ~~~~~~~^~~~~~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This would zero the first 4 or 8 bytes of the array because it is declared as a pointer

rockbox/lib/rbcodec/codecs/libasap/asap.c:1229:44: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
    memset(ast -&gt; memory, 0, sizeof(ast -&gt; memory));
           ~~~~~~~~~~~~~            ~~~~~~~^~~~~~
</pre>
</div>
</content>
</entry>
<entry>
<title>Add codecs to librbcodec.</title>
<updated>2012-04-25T20:13:20+00:00</updated>
<author>
<name>Sean Bartell</name>
<email>wingedtachikoma@gmail.com</email>
</author>
<published>2011-06-26T01:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=f40bfc9267b13b54e6379dfe7539447662879d24'/>
<id>f40bfc9267b13b54e6379dfe7539447662879d24</id>
<content type='text'>
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97
Reviewed-on: http://gerrit.rockbox.org/137
Reviewed-by: Nils Wallménius &lt;nils@rockbox.org&gt;
Tested-by: Nils Wallménius &lt;nils@rockbox.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97
Reviewed-on: http://gerrit.rockbox.org/137
Reviewed-by: Nils Wallménius &lt;nils@rockbox.org&gt;
Tested-by: Nils Wallménius &lt;nils@rockbox.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
