diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-28 21:30:58 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | 840f6b79c73b7714843f38d179dbbd6bf45b822d (patch) | |
tree | fb0119c5e74c9199f0fd2f1280bc32380a8c269b /apps/plugins/mpegplayer/libmpeg2 | |
parent | f622bcfe4fd966af4c5ac5deadb4f3e74026078b (diff) | |
download | rockbox-840f6b79c73b7714843f38d179dbbd6bf45b822d.tar.gz rockbox-840f6b79c73b7714843f38d179dbbd6bf45b822d.zip |
buflib: update first_free_handle in handle_alloc
Since we're scanning the handle table for the first free slot,
we know none of the scanned slots are free. Use that knowledge
to update first_free_handle and avoid rescanning filled slots
again when the next handle is allocated.
Change-Id: I457372f66c231168cfffa7e905d1e9fb80002f5f
Diffstat (limited to 'apps/plugins/mpegplayer/libmpeg2')
0 files changed, 0 insertions, 0 deletions