diff options
Diffstat (limited to 'src/pulsecore/sample-util.c')
-rw-r--r-- | src/pulsecore/sample-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sample-util.c b/src/pulsecore/sample-util.c index 16ec4ad2..a9e486e3 100644 --- a/src/pulsecore/sample-util.c +++ b/src/pulsecore/sample-util.c @@ -748,8 +748,8 @@ void pa_volume_memchunk( return; } - if (spec->format < 0 || spec->format > PA_SAMPLE_MAX) { - pa_log_warn(" Unable to change volume of format %s.", pa_sample_format_to_string(spec->format)); + if (spec->format < 0 || spec->format >= PA_SAMPLE_MAX) { + pa_log_warn("Unable to change volume of format"); return; } |