This worked for me. XviD.dll freezes/crashes and causes Windows Explorer to close
This problem usually occurs when you're browsing a folder containing XviD videos and Explorer tries to create thumbnail previews of the videos using an outdated version of the XviD codec that's installed. When it fails you get an error message about Explorer encountering a problem with xvid.dll and having to close down (Windows Explorer has encountered a problem and needs to close).
As the xvid.dll file hasn't been used for quite some time its presence on your system suggests that you've still got an outdated version of the XviD codec installed. Just installing the latest version of the XviD codec over the old one won't fix the problem as it doesn't remove the old files and registry settings. You first need to uninstall all previous versions of the XviD codec and verify that the problem goes away. Then you should install the latest version of the
XviD codec