summarylogtreecommitdiffstats
path: root/openjpeg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openjpeg.patch')
-rw-r--r--openjpeg.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/openjpeg.patch b/openjpeg.patch
index b666a09669e7..e7490236b837 100644
--- a/openjpeg.patch
+++ b/openjpeg.patch
@@ -3,7 +3,7 @@ author: Michael Gilbert <mgilbert@debian.org>
--- a/third_party/pdfium/third_party/BUILD.gn
+++ b/third_party/pdfium/third_party/BUILD.gn
-@@ -366,39 +366,11 @@ config("fx_libopenjpeg_warnings") {
+@@ -367,39 +367,11 @@ config("fx_libopenjpeg_warnings") {
}
}
@@ -59,9 +59,9 @@ author: Michael Gilbert <mgilbert@debian.org>
class CPDF_ColorSpace;
---- a/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp
-+++ b/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp
-@@ -16,8 +16,6 @@
+--- a/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp
++++ b/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp
+@@ -17,8 +17,6 @@
#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_safe_types.h"
#include "third_party/base/ptr_util.h"
@@ -70,7 +70,7 @@ author: Michael Gilbert <mgilbert@debian.org>
namespace {
-@@ -514,7 +512,6 @@ bool CJPX_Decoder::Init(pdfium::span<con
+@@ -515,7 +513,6 @@ bool CJPX_Decoder::Init(pdfium::span<con
return false;
m_Image = pTempImage;
@@ -78,7 +78,7 @@ author: Michael Gilbert <mgilbert@debian.org>
if (!m_Parameters.nb_tile_to_decode) {
if (!opj_set_decode_area(m_Codec.Get(), m_Image.Get(), m_Parameters.DA_x0,
-@@ -548,7 +545,7 @@ bool CJPX_Decoder::Init(pdfium::span<con
+@@ -549,7 +546,7 @@ bool CJPX_Decoder::Init(pdfium::span<con
// TODO(palmer): Using |opj_free| here resolves the crash described in
// https://crbug.com/737033, but ultimately we need to harmonize the
// memory allocation strategy across OpenJPEG and its PDFium callers.
@@ -108,7 +108,7 @@ author: Michael Gilbert <mgilbert@debian.org>
"PNG_PREFIX",
"PNG_USE_READ_MACROS",
]
-@@ -75,7 +74,6 @@ config("pdfium_core_config") {
+@@ -78,7 +77,6 @@ config("pdfium_core_config") {
if (is_linux) {
if (current_cpu == "x64") {
defines += [ "_FX_CPU_=_FX_X64_" ]