Decoding of mjpeg (or mjpg or motion jpeg) in c, based on luvcview-20070512. This code is GPL v2 or later.