diff options
Diffstat (limited to 'jcinit.c')
-rw-r--r-- | jcinit.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,7 +42,11 @@ jinit_compress_master (j_compress_ptr cinfo) 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 |