diff --git a/tiledb/sm/compressors/test/link_webp_test1.cc b/tiledb/sm/compressors/test/link_webp_test1.cc index c59b166311b..cfd976a2e6e 100644 --- a/tiledb/sm/compressors/test/link_webp_test1.cc +++ b/tiledb/sm/compressors/test/link_webp_test1.cc @@ -96,18 +96,6 @@ uint64_t reference_a_value(uint64_t v) { #pragma warning(disable : 4701) // 'config', 'picture_no_alpha' #endif -extern "C" int WebPGetDemuxVersion(void); -extern "C" int WebPGetMuxVersion(void); -extern "C" VP8StatusCode WebPAllocateDecBuffer( - int width, - int height, - const WebPDecoderOptions* const options, - WebPDecBuffer* const buffer); -extern "C" void WebPFreeDecBuffer(WebPDecBuffer* const buffer); -typedef void VP8LDecoder; -extern "C" VP8LDecoder* VP8LNew(void); -extern "C" void VP8LClear(VP8LDecoder*); - int main(int argc, const char* argv[]) { int return_value = -1; const char *in_file = NULL, *out_file = NULL; @@ -138,28 +126,13 @@ int main(int argc, const char* argv[]) { // *** turns out, there is -NO- symbol in webpdecoder that is not also in // webp! left here anyway, in case libraries are ever de-dupped. const int dec_version = WebPGetDecoderVersion(); - auto vp8l_dec = VP8LNew(); - VP8LClear(vp8l_dec); - - VP8StatusCode status; - WebPDecoderOptions webpdecoptions; - WebPDecBuffer webpdec_buffer; - status = WebPAllocateDecBuffer(512, 512, &webpdecoptions, &webpdec_buffer); - if (status == VP8_STATUS_OK) { - WebPFreeDecBuffer(&webpdec_buffer); - } - - // webpdemux - const int demux_version = WebPGetDemuxVersion(); - // webpmux - const int mux_version = WebPGetMuxVersion(); // webp // in testing, even when WebP::webp was -not- added as link item, this // library was still being placed in link_webp_test project. auto enc_version = WebPGetEncoderVersion(); - reference_a_value(dec_version + demux_version + mux_version + enc_version); + reference_a_value(dec_version + enc_version); } if (argc == 1) {