summaryrefslogtreecommitdiff
path: root/sdk
diff options
context:
space:
mode:
Diffstat (limited to 'sdk')
-rw-r--r--sdk/recipes/patches/libjpeg/pixelformat.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/libjpeg/pixelformat.p b/sdk/recipes/patches/libjpeg/pixelformat.p
new file mode 100644
index 0000000..5427d86
--- /dev/null
+++ b/sdk/recipes/patches/libjpeg/pixelformat.p
@@ -0,0 +1,11 @@
+--- jmorecfg.h.orig 2012-08-10 17:23:41.521295445 +0100
++++ jmorecfg.h 2012-08-10 17:22:25.105291584 +0100
+@@ -322,7 +322,7 @@
+ #define RGB_RED 0 /* Offset of Red in an RGB scanline element */
+ #define RGB_GREEN 1 /* Offset of Green */
+ #define RGB_BLUE 2 /* Offset of Blue */
+-#define RGB_PIXELSIZE 3 /* JSAMPLEs per RGB scanline element */
++#define RGB_PIXELSIZE 4 /* JSAMPLEs per RGB scanline element */
+
+
+ /* Definitions for speed-related optimizations. */