return false;
}
- if (extractMultiByteInteger(&type, &map[0], fsize, &position) < 0)
+ if (extractMultiByteInteger(&type, &map[0], headerSize, &position) < 0)
{
DALI_LOG_ERROR("Error: unable to read type!");
return false;
DALI_LOG_ERROR("Error: unknown format!\n");
return false;
}
- if (extractMultiByteInteger(&w, &map[0], fsize, &position) < 0)
+ if (extractMultiByteInteger(&w, &map[0], headerSize, &position) < 0)
{
DALI_LOG_ERROR("Error: can not read width!\n");
return false;
}
- if (extractMultiByteInteger(&h, &map[0], fsize, &position) < 0)
+ if (extractMultiByteInteger(&h, &map[0], headerSize, &position) < 0)
{
DALI_LOG_ERROR("Error: can not read height!\n");
return false;