USB Webcam on Linux

This is a simple program which reads a stream of images from a USB webcam and displays it on the screen. Version 1.1 and on can capture an image and save it on disk. I learned one thing about the MJPG format: It's just JPEG. Sure, it doesn't have JFIF or JPEG ASCII magic at the beginning, but libjpeg can decode it without any problems.