mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
smoother-test: Fix array overflow.
This commit is contained in:
parent
19c058dd08
commit
2567bc10ec
1 changed files with 2 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ START_TEST (smoother_test) {
|
|||
pa_log_debug("%i\t\t%i", msec[u], msec[u+1]);
|
||||
u += 2;
|
||||
|
||||
if (u < PA_ELEMENTSOF(msec))
|
||||
pa_smoother_resume(s, (pa_usec_t) msec[u] * PA_USEC_PER_MSEC, TRUE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue