VC++ in-depth explanation of the video source code