mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add some missing tests
This commit is contained in:
@@ -41,6 +41,10 @@ static FLAC__bool die_s_(const char *msg, const FLAC__StreamEncoder *encoder)
|
||||
printf("FAILED");
|
||||
|
||||
printf(", state = %u (%s)\n", (unsigned)state, FLAC__StreamEncoderStateString[state]);
|
||||
if(state == FLAC__STREAM_ENCODER_VERIFY_DECODER_ERROR) {
|
||||
FLAC__StreamDecoderState dstate = FLAC__stream_encoder_get_verify_decoder_state(encoder);
|
||||
printf(" verify decoder state = %u (%s)\n", (unsigned)dstate, FLAC__StreamDecoderStateString[dstate]);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user