summaryrefslogtreecommitdiffstats
path: root/libmpdemux/audio_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/audio_in.c')
-rw-r--r--libmpdemux/audio_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/audio_in.c b/libmpdemux/audio_in.c
index c662bfab0f..264a7bc4b4 100644
--- a/libmpdemux/audio_in.c
+++ b/libmpdemux/audio_in.c
@@ -106,7 +106,7 @@ int audio_in_set_device(audio_in_t *ai, char *device)
ai->alsa.device = strdup(device);
/* mplayer cannot handle colons in arguments */
for (i = 0; i < strlen(ai->alsa.device); i++) {
- if (ai->alsa.device[i] == ',') ai->alsa.device[i] = ':';
+ if (ai->alsa.device[i] == '.') ai->alsa.device[i] = ':';
}
return 0;
#endif