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.
2 parents f784fcf + da93d8f commit ae96dcaCopy full SHA for ae96dca
SDWebImageAVIFCoder/Classes/Conversion.m
@@ -186,7 +186,7 @@ static CGImageRef CreateCGImage8(avifImage * avif) {
186
187
vImage_YpCbCrToARGB convInfo = {0};
188
189
- resultBufferData = calloc(components * rowBytes * avif->height, sizeof(uint8_t));
+ resultBufferData = calloc(rowBytes * avif->height, sizeof(uint8_t));
190
if(resultBufferData == NULL) {
191
goto end_all;
192
}
0 commit comments