chao yeaj wrote:
splash = frame; /* Here, the splash is not NULL*/
splash is a local variable. if you want to assign to the data at the pointer: *splash=frame