diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-20 09:09:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-20 09:09:56 -0700 |
commit | 54d027dbbff8a0270531855082e4f61cb457c173 (patch) | |
tree | 3c3759aa29b5aef195294d119a99f889b35a456c /core/fpdftext | |
parent | 7d554c9dabeb7474dbdabbbf7d01a4abaa7f65a0 (diff) | |
download | pdfium-54d027dbbff8a0270531855082e4f61cb457c173.tar.xz |
Fixup LoadImageInfo type checking.
The ::DetectImageType method does more then just detecting the image type, it
also sets up various needed structures to handle the decoding. Instead of
skipping the ::DetectImageType call this CL changes the code to return early if
the image check fails. This should allow us to stop working on images which do
not match the required data format.
BUG=chromium:621094
Review-Url: https://codereview.chromium.org/2085493002
Diffstat (limited to 'core/fpdftext')
0 files changed, 0 insertions, 0 deletions