Comments (2)
Thank you for taking the time to report this.
I was able to reproduce this with a file encoded by the reference encoder. Indeed the block size limit applies only to the global block size, but not to the block size of individual frames. When the length of the stream modulo the block size was less than 16, this error would be reported incorrectly. With the default block size of 4096, the probability of that happening was about 1 in 273, which is probably why I had not noticed this before.
I’ve pushed a fix to master. Are you able to decode the file now?
from claxon.
Yes that fixes the problem. I can decode the file just fine. Thanks.
from claxon.
Related Issues (19)
- version of hound required by claxon does not compile HOT 3
- Contents of uninitialized memory are leaked into the output on malformed inputs HOT 9
- [wishlist] Drop the unsafe ensure_buffer_len() HOT 4
- Some FLAC files don't decode because LPC order > 12 is not supported HOT 6
- Support reading flac tag HOT 2
- Emtpy Vorbis Comment HOT 7
- How to use in async code HOT 2
- Consider adding encoding support HOT 1
- Reading on uninitialized memory may cause UB HOT 6
- MSRV for this crate? HOT 2
- A blueprint for seeking feature HOT 6
- Reading undecoded FLAC frames HOT 3
- Last call on FLAC specification HOT 2
- Frame CRC mismatch HOT 2
- Support alternative containers HOT 5
- Issues with privacy HOT 7
- About the metadata issue HOT 2
- FLAC file reading performance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from claxon.