Ticket #51017: patch-lib-jfifcontainer.cpp.diff
File patch-lib-jfifcontainer.cpp.diff, 579 bytes (added by ryandesign (Ryan Carsten Schmidt), 9 years ago) |
---|
-
lib/jfifcontainer.cpp
old new 145 145 { 146 146 int ret = 0; 147 147 if (::setjmp(m_jpegjmp) == 0) { 148 ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);148 ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE); 149 149 //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n"; 150 150 151 151 JPEG::jpeg_calc_output_dimensions(&m_cinfo); … … 181 181 src->pub.next_input_byte = NULL; 182 182 src->pub.bytes_in_buffer = 0; 183 183 } 184 return TRUE;184 return JPEG::TRUE; 185 185 } 186 186 187 187