Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-24-2018, 03:37 PM   #1
Registered: Feb 2010
Posts: 78

Rep: Reputation: 0
libjpeg - Huffman table 0x00 was not defined


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

Huffman table 0x00 was not defined
so no decoding is possible (program stops immediately ...).

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:

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.

Last edited by mr.simo; 10-24-2018 at 03:48 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm libjpeg conflicts with libjpeg-turbo jspence Red Hat 2 11-07-2016 07:46 AM
[SOLVED] Huffman tree encoding question atlantis43 Programming 4 05-19-2015 01:24 PM
cannot add default route in user defined table (added in rt_tables) mgautam Linux - Networking 3 10-05-2009 06:45 AM
What is this -> SRC= DST= LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 10:26 PM
huffman algorithm mcshen Programming 3 03-12-2004 03:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration