1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #27296 from sturkmen72:bugfix-gif

Fix a bug on rendering some animated gif
This commit is contained in:
Alexander Smorkalov
2025-05-12 09:14:07 +03:00
committed by GitHub
+1 -1
View File
@@ -130,7 +130,7 @@ bool GifDecoder::readData(Mat &img) {
globalColorTable[bgColor * 3 + 1], // G
globalColorTable[bgColor * 3 + 0], // R
0); // A
restore = Mat(width, height, CV_8UC4, background);
restore = Mat(height, width, CV_8UC4, background);
}
else
{