Sometimes the audio or video might lag behind the other during playback of a video file. Fixing this so that the audio and video are synchronized is pretty easy in VLC.
Play the video file in VLC. Choose Tools → Track Synchronization. VLC pops up an Adjustments and Effects window with the Synchronization tab open. Increase or decrease the Advance of audio over video value until you feel the audio and video are in sync. It takes a couple of seconds for new settings to take effect.
This is a per-session setting, as it should rightly be. So, it is lost when VLC is closed and reopened and needs to be set again if needed.
Tried with: VLC 1.1.7