Merge pull request #99 from glyptodon/webp-warning

GUAC-1425: Use proper enum constant for WebPConfigPreset().
This commit is contained in:
James Muehlner 2015-12-09 13:56:51 -08:00
commit 4d9f1bdef7

View File

@ -191,7 +191,7 @@ int guac_webp_write(guac_socket* socket, guac_stream* stream,
/* Configure WebP compression bits */ /* Configure WebP compression bits */
WebPConfig config; WebPConfig config;
if (!WebPConfigPreset(&config, WEBP_HINT_DEFAULT, quality)) if (!WebPConfigPreset(&config, WEBP_PRESET_DEFAULT, quality))
return -1; return -1;
/* Add additional tuning */ /* Add additional tuning */