[PATCH 7/8] windowscodecs/tests: Add CopyPixels data tests for uncompressed images.

Esme Povirk (they/them) esme at codeweavers.com
Tue Aug 25 11:22:13 CDT 2020


+        } else {
+            ok(!strncmp((const char *)pixels, (const char *)buffer,
frame_size),
+               "Test %u, frame %u: Pixels mismatch\n", i, frame_index);
+        };

It's a little strange to use strncmp for pixel data. This will break
if the data contains a 0 byte. I think you want memcmp.



More information about the wine-devel mailing list