implemented huffman table patching

Some MJPEG cameras omit the huffman table definition (DHT).
When decoding MJPEG, The code now looks for a dht segment and injects one
into the MJPEG data if none is found.