mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add a boolean return value to FLAC__stream_encoder_finish() that signals a verify mismatch
This commit is contained in:
@@ -443,7 +443,8 @@ static FLAC__bool test_stream_encoder(Layer layer, FLAC__bool is_ogg)
|
||||
printf("OK\n");
|
||||
|
||||
printf("testing FLAC__stream_encoder_finish()... ");
|
||||
FLAC__stream_encoder_finish(encoder);
|
||||
if(!FLAC__stream_encoder_finish(encoder))
|
||||
return die_s_("returned false", encoder);
|
||||
printf("OK\n");
|
||||
|
||||
printf("testing FLAC__stream_encoder_delete()... ");
|
||||
|
||||
Reference in New Issue
Block a user