Ticket #51017: patch-lib-jfifcontainer.cpp.diff

File patch-lib-jfifcontainer.cpp.diff, 579 bytes (added by ryandesign (Ryan Carsten Schmidt), 8 years ago)
  • lib/jfifcontainer.cpp

    old new  
    145145                {
    146146                        int ret = 0;
    147147                        if (::setjmp(m_jpegjmp) == 0) {
    148                                 ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
     148                                ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
    149149                                //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
    150150                               
    151151                                JPEG::jpeg_calc_output_dimensions(&m_cinfo);
     
    181181                                src->pub.next_input_byte = NULL;
    182182                                src->pub.bytes_in_buffer = 0;
    183183                        }
    184                         return TRUE;
     184                        return JPEG::TRUE;
    185185                }
    186186
    187187