add some missing tests

This commit is contained in:
Josh Coalson
2002-08-20 04:02:21 +00:00
parent 6fe72f7247
commit e1f795b213
2 changed files with 12 additions and 0 deletions

View File

@@ -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;
}