wav: try to read as much PCM data as possible
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Aug 2023 16:55:42 +0000 (18:55 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Aug 2023 16:55:42 +0000 (18:55 +0200)
commitf80d9ab996334eca46048c2ee25c51e52d7fef7f
tree938b353ca116bd18301bd5f1e40a5ff6d99b73f9
parent34219db3e2b43a690418e3d157b59a9f052ad343
wav: try to read as much PCM data as possible

Otherwise read_buf_some() may return random small buffer size that
is not even aligned to the sample size.
nihav-commonfmt/src/demuxers/wav.rs