summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_pcm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c
index 7b6e71a38c..ad0e0626b1 100644
--- a/libao2/ao_pcm.c
+++ b/libao2/ao_pcm.c
@@ -86,10 +86,6 @@ static int init(int rate,int channels,int format,int flags){
strdup(ao_pcm_waveheader?"audiodump.wav":"audiodump.pcm");
}
- /* bits is only equal to format if (format == 8) or (format == 16);
- this means that the following "if" is a kludge and should
- really be a switch to be correct in all cases */
-
bits=8;
switch(format){
case AF_FORMAT_S32_BE: