diff options
author | 2015-08-27 07:25:27 +0000 | |
---|---|---|
committer | 2015-08-27 07:25:27 +0000 | |
commit | e5f071b5eb0d2be1ac1c5854568b7e1327813ffe (patch) | |
tree | 20fc45a64f6da558d4e4e35965e4ba8b62a89812 | |
parent | fix comment (diff) | |
download | wireguard-openbsd-e5f071b5eb0d2be1ac1c5854568b7e1327813ffe.tar.xz wireguard-openbsd-e5f071b5eb0d2be1ac1c5854568b7e1327813ffe.zip |
Allow sparse blocks to be used as silence if samples are encoded
as signed integers.
-rw-r--r-- | usr.bin/aucat/afile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/aucat/afile.c b/usr.bin/aucat/afile.c index 69680e7c9c7..cc34cd1a598 100644 --- a/usr.bin/aucat/afile.c +++ b/usr.bin/aucat/afile.c @@ -827,7 +827,7 @@ int afile_seek(struct afile *f, off_t pos) { pos += f->startpos; - if (f->endpos >= 0 && pos > f->endpos) { + if (f->endpos >= 0 && pos > f->endpos && !f->par.sig) { log_puts(f->path); log_puts(": attempt to seek outside file boundaries\n"); return 0; |