aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_mvp.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-10 14:03:33 +0200
committerMax Kellermann <max@duempel.org>2008-10-10 14:03:33 +0200
commit6101dc6c768b09dbcdc1840a84b619a5a6a20129 (patch)
treeaf2369299cff4af045fe8717584a29b6234aac51 /src/audioOutputs/audioOutput_mvp.c
parent817a033f5591fefb842e355ef211d09e855661ef (diff)
downloadmpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.tar.gz
mpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.tar.xz
mpd-6101dc6c768b09dbcdc1840a84b619a5a6a20129.zip
audio_format: unsigned integers
"bits" and "channels" cannot be negative.
Diffstat (limited to 'src/audioOutputs/audioOutput_mvp.c')
-rw-r--r--src/audioOutputs/audioOutput_mvp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c
index d22747408..59f43a4fd 100644
--- a/src/audioOutputs/audioOutput_mvp.c
+++ b/src/audioOutputs/audioOutput_mvp.c
@@ -111,7 +111,7 @@ static void mvp_finishDriver(struct audio_output *audioOutput)
}
static int mvp_setPcmParams(MvpData * md, unsigned long rate, int channels,
- int big_endian, int bits)
+ int big_endian, unsigned bits)
{
int iloop;
int mix[5];