diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-28 21:23:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | bcaa9465e99051bef52eeb2124b91dacaf2d7ee3 (patch) | |
tree | c1894cc8b57b8ad4c1c8aecb797aaa99f42a0dfb /apps/plugins/mpegplayer/libmpeg2 | |
parent | 6beebd75e779522bfc99ec570bb397041fdef49c (diff) | |
download | rockbox-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/libmpeg2')
0 files changed, 0 insertions, 0 deletions