diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-03-13 11:56:51 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-03-13 11:56:51 +0000 |
| commit | 7cac18f94b512d8541456c2a68f7bfb05a5bd6e8 (patch) | |
| tree | 1bf4092efef05374c5bbe2376f2d7f835435463b /packaging | |
| parent | e86a7fb77d22cdd593162e91d57012f4ae61cc81 (diff) | |
| download | rockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.zip rockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.tar.gz rockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.tar.bz2 rockbox-7cac18f94b512d8541456c2a68f7bfb05a5bd6e8.tar.xz | |
Use ringbuf_add in buffering when incrementing for initial allocation of non-wrapping data. The result of the shortcut would have been wrong if the handle used space exactly to the end of the buffer since buf_widx wouldn't have been properly wrapped to index 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29578 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions