Fix typo on WebPPictureAlloc() in README

Change-Id: I4435a6a2e53495e475f7f833b7d38b6a29ed73d1
This commit is contained in:
Yannis Guyon 2021-04-15 19:11:49 +02:00
parent 7e58a1a260
commit ec6cfeb51e

2
README
View File

@ -619,7 +619,7 @@ The encoding flow looks like:
pic.width = width;
pic.height = height;
// allocated picture of dimension width x height
if (!WebPPictureAllocate(&pic)) {
if (!WebPPictureAlloc(&pic)) {
return 0; // memory error
}
// at this point, 'pic' has been initialized as a container,