diff options
author | JUN FANG <jun_fang@foxitsoftware.com> | 2015-02-27 10:00:00 -0800 |
---|---|---|
committer | JUN FANG <jun_fang@foxitsoftware.com> | 2015-02-27 10:10:15 -0800 |
commit | 7dba98630d1db1ead3382ecda41a52932783e272 (patch) | |
tree | 452f6505903c971742a0a17502399ce4fda09b80 /core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c | |
parent | 4cb0fa7b28a65c1f0f9636ba8bcfc6880f668e4a (diff) | |
download | pdfium-7dba98630d1db1ead3382ecda41a52932783e272.tar.xz |
Merge to XFA: Upgrade openjpeg to revision 2997.
BUG=457493
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/960183004
Diffstat (limited to 'core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c')
-rw-r--r-- | core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c index d0d63d2bd0..6f0ac91569 100644 --- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c +++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c @@ -388,13 +388,13 @@ OPJ_BOOL opj_t2_decode_packets( opj_t2_t *p_t2, * and no l_img_comp->resno_decoded are computed */ OPJ_BOOL* first_pass_failed = NULL; - + if (l_current_pi->poc.prg == OPJ_PROG_UNKNOWN) { /* TODO ADE : add an error */ opj_pi_destroy(l_pi, l_nb_pocs); return OPJ_FALSE; } - + first_pass_failed = (OPJ_BOOL*)opj_malloc(l_image->numcomps * sizeof(OPJ_BOOL)); if (!first_pass_failed) { |