libwebp: Fix missing '{' in README

Change-Id: I205e9dc24450b258b416550cd3f59ce5049546c7
This commit is contained in:
Yannis Guyon 2019-02-15 09:45:34 +01:00
parent e05f785a66
commit 62eb3f087a

2
README
View File

@ -597,7 +597,7 @@ The encoding flow looks like:
// Setup a config, starting form a preset and tuning some additional
// parameters
WebPConfig config;
if (!WebPConfigPreset(&config, WEBP_PRESET_PHOTO, quality_factor))
if (!WebPConfigPreset(&config, WEBP_PRESET_PHOTO, quality_factor)) {
return 0; // version error
}
// ... additional tuning