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
Not being a windows user.. well.. I did notice a recent system update did include the x264 codec package so it might have been some backroom change like that. Personally I use MPV player as VLC does have a few issues on linux.