diff options
Diffstat (limited to 'lib/readwav.f90')
| -rw-r--r-- | lib/readwav.f90 | 4 |
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 |
