Commit fc2b7379 authored by Josh Coalson's avatar Josh Coalson
Browse files

add assertion failure on verify decoder underflow

parent 382b2f8f
......@@ -2378,7 +2378,11 @@ FLAC__StreamDecoderReadStatus verify_read_callback_(const FLAC__StreamDecoder *d
else {
if(encoded_bytes == 0) {
//@@@@ underflow happened, should we do something else here? is this an assert failure?
* If we get here, a FIFO underflow has occurred,
* which means there is a bug somewhere.
else if(encoded_bytes < *bytes)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment