fix mjpeg decoding with broken huffman table headers