Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
21 lines
713 B
Diff
21 lines
713 B
Diff
commit 462c1cd875ae8f6b5f6406dda01881fb173ac30c
|
|
Author: Daniel Kinsman <danielkinsman@riseup.net>
|
|
Date: Thu Mar 20 12:21:28 2025 +1100
|
|
|
|
remove unneeded source files and lossless jpeg support
|
|
|
|
diff --git a/thirdparty/libjpeg-turbo/src/turbojpeg.c b/thirdparty/libjpeg-turbo/src/turbojpeg.c
|
|
index 389aea55d3..eec8e2a616 100644
|
|
--- a/thirdparty/libjpeg-turbo/src/turbojpeg.c
|
|
+++ b/thirdparty/libjpeg-turbo/src/turbojpeg.c
|
|
@@ -1200,9 +1200,6 @@ bailout:
|
|
#define BITS_IN_JSAMPLE 12
|
|
#include "turbojpeg-mp.c"
|
|
#undef BITS_IN_JSAMPLE
|
|
-#define BITS_IN_JSAMPLE 16
|
|
-#include "turbojpeg-mp.c"
|
|
-#undef BITS_IN_JSAMPLE
|
|
|
|
/* TurboJPEG 1.2+ */
|
|
DLLEXPORT int tjCompress2(tjhandle handle, const unsigned char *srcBuf,
|