fix encode crash

just want to fix one issue it will cause encode crash (issue#477)
after fix it,  h264enc welscfg can work well on MAC, but still crash on linux.  

the SFileSet is structure but it contain C++ STL string objects.  the string can initialize it self, it need not to be memset.  and it is danger to memset on objects.