summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-28 21:23:39 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-09-19 15:09:51 -0400
commitbcaa9465e99051bef52eeb2124b91dacaf2d7ee3 (patch)
treec1894cc8b57b8ad4c1c8aecb797aaa99f42a0dfb /apps/plugins/mpegplayer
parent6beebd75e779522bfc99ec570bb397041fdef49c (diff)
downloadrockbox-bcaa9465e99051bef52eeb2124b91dacaf2d7ee3.tar.gz
rockbox-bcaa9465e99051bef52eeb2124b91dacaf2d7ee3.zip
buflib: optimize find_block_before
Exiting the loop implies next_block == block, so remove that check. The check ret < block is false only if block is the first block, which can be checked before the loop, saving a few cycles in that case. Change-Id: Id493b5259a23a35a70b09dfe4bc4eacaf420760c
Diffstat (limited to 'apps/plugins/mpegplayer')
0 files changed, 0 insertions, 0 deletions