Now vlc is working fine. Windows updated as well as avast and now vlc can play h264 again. Don't know whats going on lol