libjpeg - Huffman table 0x00 was not defined
Hello,
I am experiencing problems in decoding MJPEG frames from a camera with a C program. Since each frame is encoded in JPEG format I am using libjpeg version 9 to decode it but I am getting the error Code:
Huffman table 0x00 was not defined If I open the frame with a image viewer tool (as GIMP) I can see the frame correctly. Do someone knows if it's possible to get rid of this error and perform decoding with libjpeg ? It seems that libjpeg looks for the Huffman table. From the source code of jpeglib.h at line 588: https://github.com/LuaDist/libjpeg/blob/master/jpeglib.h seems that setting the arith_code flag to true makes the lib to don't look for the Huffman table... But I get the same results... Any ideas ? Thank you in advance. Regards, s. |
All times are GMT -5. The time now is 12:13 AM. |