fix sizeof() bug

sizeof (SEncParamBase) should be sizeof(SEncParamExt)