aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/mjpeg.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-07 17:43:49 +0200
committerFilippos Karapetis2014-12-07 17:49:57 +0200
commitf2511e5a9ecfebdf5c03319acb9466e070fa3d06 (patch)
tree2010a7a4048096fffd5d5f8c75d21f028415b9e0 /image/codecs/mjpeg.cpp
parentbb120d0fd4f6b32f9b9d76d9d3b334eef58cbfb8 (diff)
downloadscummvm-rg350-f2511e5a9ecfebdf5c03319acb9466e070fa3d06.tar.gz
scummvm-rg350-f2511e5a9ecfebdf5c03319acb9466e070fa3d06.tar.bz2
scummvm-rg350-f2511e5a9ecfebdf5c03319acb9466e070fa3d06.zip
IMAGE: Disable unused MJPEG array
Thanks to fingolfin for pointing that out
Diffstat (limited to 'image/codecs/mjpeg.cpp')
-rw-r--r--image/codecs/mjpeg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/image/codecs/mjpeg.cpp b/image/codecs/mjpeg.cpp
index 4ad72f259d..6e7faf1045 100644
--- a/image/codecs/mjpeg.cpp
+++ b/image/codecs/mjpeg.cpp
@@ -87,9 +87,11 @@ static const byte s_mjpegValDC[12] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
};
+#if 0
static const byte s_mjpegBitsDCChrominance[17] = {
/* 0-base */ 0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0
};
+#endif
static const byte s_mjpegBitsACLuminance[17] = {
/* 0-base */ 0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d