Commit 7b2e3a37 authored by Josh Coalson's avatar Josh Coalson
Browse files

add test for FLAC__metadata_object_seektable_is_legal()

parent d40f73d4
......@@ -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;
seekpoints = 0;
printf("testing FLAC__metadata_object_seektable_resize_points(shrink to %u)...", seekpoints);
if(!FLAC__metadata_object_seektable_resize_points(block, seekpoints)) {
Markdown is supported
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