We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895d58e commit c2ab7ffCopy full SHA for c2ab7ff
avif-coder/src/main/cpp/AvifDecoderController.cpp
@@ -57,7 +57,7 @@ class AvifUniqueImage {
57
58
avifResult allocateImage() {
59
auto result = avifRGBImageAllocatePixels(&rgbImage);
60
- if (result != AVIF_RESULT_OK) {
+ if (result == AVIF_RESULT_OK) {
61
this->isPlanesAllocated = true;
62
}
63
return result;
0 commit comments