summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c
diff options
context:
space:
mode:
authorJUN FANG <jun_fang@foxitsoftware.com>2015-02-27 10:00:00 -0800
committerJUN FANG <jun_fang@foxitsoftware.com>2015-02-27 10:00:00 -0800
commitec61a859344dc6d2a60e4cbcd1555e6d317f2add (patch)
treeaefdff9a82c0b205573c54e899bf582022ac54a6 /core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/t2.c
parent42a8adad1c53c060bb93457902243a53270cec36 (diff)
downloadpdfium-ec61a859344dc6d2a60e4cbcd1555e6d317f2add.tar.xz
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.c4
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)
{