decoder/dsf: fix noise at end of malformed file

Read one block at a time.  This discards the last partial block, which
cannot be interleaved anyway.  Previously, uninitialised memory was
used to interleave the last block, which generated some noise.
This commit is contained in:
Max Kellermann
2014-08-21 17:46:25 +02:00
parent 74cdc0005a
commit dedc2986c6
2 changed files with 8 additions and 15 deletions

1
NEWS
View File

@@ -43,6 +43,7 @@ ver 0.19 (not yet released)
- audiofile: log libaudiofile errors
- dsdiff, dsf: report bit rate
- dsf: support DSD512
- dsf: fix noise at end of malformed file
- sndfile: support scanning remote files
- sndfile: support tags "comment", "album", "track", "genre"
- mp4v2: support playback of MP4 files.