Displaying 1 result from an estimated 1 matches for "58ce621f".
Did you mean:
58c2621f
2010 Jul 14
1
[patch] Decoding non 8/16/24 bps audio to raw format should fail cleanly
When decoding a FLAC file with bits per sample that is not a multiple
of 8 and outputting in raw format, the decoder gets as far as the write
callback before realising that it doesn't know how to write the data.
It then fails with an unhelpful message (or trips an assert() in debug
mode). The attached patch performs the check earlier, and gives a more
helpful error message.
Kind