summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libalac/demux.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-01-16 14:15:22 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-01-17 00:37:12 +0000
commit525eb158643055bd5a652e824ee2db547a323504 (patch)
treeb324fe7a3aa99e9f317d52aceaa6d448c8117872 /apps/codecs/libalac/demux.c
parentf68c6c14d9523b45d67d39cd97e40a44e9932c95 (diff)
downloadrockbox-525eb158643055bd5a652e824ee2db547a323504.tar.gz
rockbox-525eb158643055bd5a652e824ee2db547a323504.zip
recording: fix mono mode mixdown functions
Rewrite copy_buffer_mono_* functions for correctness. Bad pointer arithmetic in copy_buffer_mono_l produced wrong results, or panics on archs which can't handle the unaligned pointer. None of the functions handled zero size copies properly though this probably wasn't an issue in practice. Change-Id: I81c894e1b8a3440cb409092bec07fe3778a78959
Diffstat (limited to 'apps/codecs/libalac/demux.c')
0 files changed, 0 insertions, 0 deletions