diff --git a/AnimationEncoder/image.cpp b/AnimationEncoder/image.cpp
index 9f65e62..2f12fec 100644
--- a/AnimationEncoder/image.cpp
+++ b/AnimationEncoder/image.cpp
@@ -339,7 +339,7 @@ Image32bpp *Load32Bpp(const std::string &sFilename, int line, int *left, int *wi
uint32 *pData = img->pData;
for (int i = 0; i < *height; i++)
{
- uint8 *pRow = pRows[*top + i] + *left;
+ uint8 *pRow = pRows[*top + i] + (*left * 4);
for (int j = 0; j < *width; j++)
{
*pData++ = MakeRGBA(pRow[0], pRow[1], pRow[2], pRow[3]);