diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 08:43:01 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-01-08 08:46:45 +0100 |
commit | 7b3a177b0d4f92b3431b8dca777313a07533a710 (patch) | |
tree | 25a484491731ef31baa6a80f468ed78d6e553cd9 /sound/core/sound.c | |
parent | 1250932e48d3b698415b1f04775433cf1da688d6 (diff) | |
download | blackbird-op-linux-7b3a177b0d4f92b3431b8dca777313a07533a710.tar.gz blackbird-op-linux-7b3a177b0d4f92b3431b8dca777313a07533a710.zip |
ALSA: pcm_lib: fix "something must be really wrong" condition
When runtime->periods == 1 or when pointer crosses end of ring buffer,
the delta might be greater than buffer_size.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/core/sound.c')
0 files changed, 0 insertions, 0 deletions