Decode AVI file from MJPEG bitstream