Skip to content

Commit c2ab7ff

Browse files
committed
Animated bugfix
1 parent 895d58e commit c2ab7ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avif-coder/src/main/cpp/AvifDecoderController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AvifUniqueImage {
5757

5858
avifResult allocateImage() {
5959
auto result = avifRGBImageAllocatePixels(&rgbImage);
60-
if (result != AVIF_RESULT_OK) {
60+
if (result == AVIF_RESULT_OK) {
6161
this->isPlanesAllocated = true;
6262
}
6363
return result;

0 commit comments

Comments
 (0)