• Max Kellermann's avatar
    pcm_utils: pass only one buffer size to pcm_mix() · c85b570a
    Max Kellermann authored
    pcm_mix() might overflow the destination buffer if it is smaller than
    the second buffer.  This is ok because the physical buffer size passed
    by cross_fade_apply() is always big enough, but clutters pcm_mix()
    with complicated length checks and contains a dangerous buffer
    overflow pitfall.  Simplify pcm_mix()/pcm_add() and pass only the
    smaller buffer size; let cross_fade_apply() do the memcpy().
    c85b570a
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...