libnyquist decodes "myfile.mp3" just fine. But if I rename it to "myfile.data", it gives some kind of format error. Shouldn't the library read the header from the beginning of the file, instead of relying on the file extension?
libnyquist decodes "myfile.mp3" just fine.
But if I rename it to "myfile.data", it gives some kind of format error.
Shouldn't the library read the header from the beginning of the file, instead of relying on the file extension?