add test for FLAC__metadata_object_seektable_is_legal()
This commit is contained in:
parent
d40f73d403
commit
7b2e3a3797
@ -397,6 +397,13 @@ int test_metadata_object()
|
||||
if(!check_seektable_(block, seekpoints, seekpoint_array))
|
||||
return 1;
|
||||
|
||||
printf("testing FLAC__metadata_object_seektable_is_legal()...");
|
||||
if(!FLAC__metadata_object_seektable_is_legal(block)) {
|
||||
printf("FAILED, returned false\n");
|
||||
return 1;
|
||||
}
|
||||
printf("OK\n");
|
||||
|
||||
seekpoints = 0;
|
||||
printf("testing FLAC__metadata_object_seektable_resize_points(shrink to %u)...", seekpoints);
|
||||
if(!FLAC__metadata_object_seektable_resize_points(block, seekpoints)) {
|
||||
|
Loading…
Reference in New Issue
Block a user