diff options
Diffstat (limited to 'usr.bin/aucat/legacy.c')
-rw-r--r-- | usr.bin/aucat/legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/legacy.c b/usr.bin/aucat/legacy.c index a5eb1d5a710..370a571c597 100644 --- a/usr.bin/aucat/legacy.c +++ b/usr.bin/aucat/legacy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: legacy.c,v 1.11 2010/04/05 19:52:42 jakemsr Exp $ */ +/* $OpenBSD: legacy.c,v 1.12 2010/04/06 20:07:01 ratchov Exp $ */ /* * Copyright (c) 1997 Kenneth Stailey. All rights reserved. * @@ -64,7 +64,7 @@ legacy_play(char *dev, char *aufile) struct sio_par spar, par; struct aparams apar; ssize_t rd; - off_t datasz; + off_t datasz, dummy; char buf[5120]; size_t readsz; int fd, fmt = FMT_RAW; @@ -96,7 +96,7 @@ legacy_play(char *dev, char *aufile) if (read(fd, &chan, sizeof(chan)) == sizeof(chan)) chan = ntohl(chan); } else if (!strncmp(magic, "RIFF", 4) && - wav_readhdr(fd, &apar, &datasz, &map)) { + wav_readhdr(fd, &apar, &dummy, &datasz, &map)) { fmt = FMT_WAV; } |