CDVDVideoCodecIMX::Enter() locks the mutex which was done before in IsValid() itself. IsValid() is now not thread safe anymore.