/*is filesize right?*/
fseek(fp, 0, SEEK_END);
filesize = ftell(fp);
if((filesize != EDID_MIN_LEN) && (filesize != EDID_MAX_LEN)){
RPT(RPT_ERR, "edid file size=<%d>, error!!, the correct file size is 128-byte or 256-byte",
filesize);
return -1;
}
fseek(fp, 0, SEEK_SET);