I'm programming with libjpeg and the problem came. Fortunately, I found some answers here and tried feeding from jpeg_mem_src() rather than jpeg_stdio_src(), compiling pyd file with VS2010 or gcc, analyzing pyd with dependencywalker and adding some dlls. But these solutions all failed.
Could anyone tell me how to fix it?