Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/libjpeg/jdtrans.c

    r2 r846  
    33 *
    44 * Copyright (C) 1995-1997, Thomas G. Lane.
     5 * Modified 2000-2009 by Guido Vollbeding.
    56 * This file is part of the Independent JPEG Group's software.
    67 * For conditions of distribution and use, see the accompanying README file.
     
    100101  cinfo->buffered_image = TRUE;
    101102
     103  /* Compute output image dimensions and related values. */
     104  jpeg_core_output_dimensions(cinfo);
     105
    102106  /* Entropy decoding: either Huffman or arithmetic coding. */
    103   if (cinfo->arith_code) {
    104     ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
    105   } else {
    106     if (cinfo->progressive_mode) {
    107 #ifdef D_PROGRESSIVE_SUPPORTED
    108       jinit_phuff_decoder(cinfo);
    109 #else
    110       ERREXIT(cinfo, JERR_NOT_COMPILED);
    111 #endif
    112     } else
    113       jinit_huff_decoder(cinfo);
     107  if (cinfo->arith_code)
     108    jinit_arith_decoder(cinfo);
     109  else {
     110    jinit_huff_decoder(cinfo);
    114111  }
    115112
Note: See TracChangeset for help on using the changeset viewer.