=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/wav.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/aucat/Attic/wav.c 2008/11/26 00:33:40 1.2 +++ src/usr.bin/aucat/Attic/wav.c 2009/01/23 17:38:15 1.3 @@ -12,7 +12,7 @@ * max data of a .wav file. The total file size must be smaller than * 2^31, and we also have to leave some space for the headers (around 40 * bytes) - */ + */ #define WAV_DATAMAX (0x7fff0000) struct fileops wav_ops = { @@ -54,7 +54,7 @@ f = (struct wav *)pipe_new(ops, fd, name); if (hdr == HDR_WAV) { par->le = 1; - par->sig = (par->bits <= 8) ? 0 : 1; + par->sig = (par->bits <= 8) ? 0 : 1; par->bps = (par->bits + 7) / 8; if (!wav_writehdr(f->pipe.fd, par)) exit(1); @@ -92,7 +92,7 @@ { struct wav *f = (struct wav *)file; unsigned n; - + if (f->wbytes >= 0 && count > f->wbytes) { count = f->wbytes; /* wbytes fits in count */ if (count == 0) {