If you have access to cjpeg sources, you could check why it behaves like that and maybe you will find a way to fool it.
Forum Rules
Bookmarks