summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-05-09 17:32:28 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2011-05-09 17:32:28 +0000
commitc6d7cee1db8f0fc53eac8038c6d9fda4fd200a4f (patch)
tree63d21c214e9e45a5e2597eeb3f5f4cb89f625fce /usr.bin
parent4c8152d3828fc58293a9c90616efa15999e71f53 (diff)
initialize 'pstate' field of the wav structure
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/wav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c
index ea035f16149..ca51f48cb85 100644
--- a/usr.bin/aucat/wav.c
+++ b/usr.bin/aucat/wav.c
@@ -721,6 +721,7 @@ wav_new_in(struct fileops *ops,
f->rbytes = -1;
f->map = NULL;
}
+ f->pstate = WAV_INIT;
f->mmc = tr;
f->join = join;
f->mode = mode;
@@ -805,6 +806,7 @@ wav_new_out(struct fileops *ops,
f->wbytes = -1;
f->startpos = f->endpos = 0;
}
+ f->pstate = WAV_INIT;
f->mmc = tr;
f->join = join;
f->mode = mode;