summaryrefslogtreecommitdiff
path: root/lib/readwav.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
committerChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
commit3d67be3023bf34eac7f93fa422f5ef569abb92a9 (patch)
treef3748d6a113c50d483882b60b732a9d211100cf8 /lib/readwav.f90
parent62c0c627f4f8aec46a082bf098d4f1523a16d297 (diff)
New upstream version 2.1.0+repackupstream/2.1.0+repack
Diffstat (limited to 'lib/readwav.f90')
-rw-r--r--lib/readwav.f904
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/readwav.f90 b/lib/readwav.f90
index ebc30c9a..25369049 100644
--- a/lib/readwav.f90
+++ b/lib/readwav.f90
@@ -53,7 +53,8 @@ contains
type(riff_descriptor) :: desc
character(len=4) :: riff_type
- open (newunit=this%lun, file=filename, access='stream', form='unformatted', status='old')
+ this%lun=26
+ open (unit=this%lun, file=filename, access='stream',status='old')
read (unit=this%lun) desc,riff_type
inquire (unit=this%lun, pos=filepos)
do
@@ -67,5 +68,6 @@ contains
end if
filepos = filepos + (desc%size + 1) / 2 * 2 ! pad to even alignment
end do
+ return
end subroutine read
end module readwav