Index: third_party/libjpeg_turbo/jcinit.c |
=================================================================== |
--- third_party/libjpeg_turbo/jcinit.c (revision 95020) |
+++ third_party/libjpeg_turbo/jcinit.c (working copy) |
@@ -42,7 +42,11 @@ |
jinit_forward_dct(cinfo); |
/* Entropy encoding: either Huffman or arithmetic coding. */ |
if (cinfo->arith_code) { |
+#ifdef C_ARITH_CODING_SUPPORTED |
+ jinit_arith_encoder(cinfo); |
+#else |
ERREXIT(cinfo, JERR_ARITH_NOTIMPL); |
+#endif |
} else { |
if (cinfo->progressive_mode) { |
#ifdef C_PROGRESSIVE_SUPPORTED |