Compare commits

..

No commits in common. "74cd026edbca2995b2f3ea5b82dd5b5c0a40480a" and "25e17c686f58e7061e300f4c649025f8ca7d1f34" have entirely different histories.

2 changed files with 5 additions and 4 deletions

View File

@ -76,8 +76,9 @@ int CropOrScale(WebPPicture* const pic, const CropOrScaleParams& params) {
} }
} }
#else // defined(WEBP_REDUCE_SIZE) #else // defined(WEBP_REDUCE_SIZE)
(void)pic; (void)data;
(void)params; (void)size;
(void)bit_pos;
#endif // !defined(WEBP_REDUCE_SIZE) #endif // !defined(WEBP_REDUCE_SIZE)
return 1; return 1;
} }

View File

@ -24,7 +24,7 @@
namespace { namespace {
void MuxDemuxApiTest(std::string_view data_in, bool use_mux_api) { void MuxDemuxApiTest(std::string_view data_in, bool mux) {
const size_t size = data_in.size(); const size_t size = data_in.size();
WebPData webp_data; WebPData webp_data;
WebPDataInit(&webp_data); WebPDataInit(&webp_data);
@ -34,7 +34,7 @@ void MuxDemuxApiTest(std::string_view data_in, bool use_mux_api) {
// Extracted chunks and frames are not processed or decoded, // Extracted chunks and frames are not processed or decoded,
// which is already covered extensively by the other fuzz targets. // which is already covered extensively by the other fuzz targets.
if (use_mux_api) { if (mux) {
// Mux API // Mux API
WebPMux* mux = WebPMuxCreate(&webp_data, size & 2); WebPMux* mux = WebPMuxCreate(&webp_data, size & 2);
if (!mux) return; if (!mux) return;