summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/libjpeg/fpdfapi_jutils.c
diff options
context:
space:
mode:
authorJUN FANG <jun_fang@foxitsoftware.com>2015-03-16 11:22:52 -0700
committerJUN FANG <jun_fang@foxitsoftware.com>2015-03-16 11:22:52 -0700
commitcd3c4764b87323ec7b712e537d18292d849611b9 (patch)
tree5cc3f51bfb412ce5e8ec1dfe0f9e2c09c678ffb9 /core/src/fxcodec/libjpeg/fpdfapi_jutils.c
parentae5b85a6d5ca1f3c3abd988f19ddc8bfd904464a (diff)
downloadpdfium-cd3c4764b87323ec7b712e537d18292d849611b9.tar.xz
Fix a bug that JPX images can't be shown
In the process of opj_end_decompress, it will return fail when the end of coding stream is reached. However it returns true in the same scenario implemented in openJPEG. So the final solution is from openJPEG. Return true when the end of coding stream is reached. BUG=452671 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/990683002
Diffstat (limited to 'core/src/fxcodec/libjpeg/fpdfapi_jutils.c')
0 files changed, 0 insertions, 0 deletions