From: Braden M. <br...@us...> - 2007-02-25 02:37:24
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26459 Modified Files: ChangeLog Log Message: Fixed problem reading JPEG images when input is suspended. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1455 retrieving revision 1.1456 diff -C2 -d -r1.1455 -r1.1456 *** ChangeLog 24 Feb 2007 07:39:11 -0000 1.1455 --- ChangeLog 25 Feb 2007 02:37:13 -0000 1.1456 *************** *** 1,4 **** --- 1,17 ---- 2007-02-24 Braden McDaniel <br...@en...> + Fixed problem reading JPEG images when input is suspended. + + * src/libopenvrml/openvrml/vrml97node.cpp + (jpeg_reader): Replaced read_state enumeration with a bool--there + are only two possible states. Added members bytes_in_buffer and + bytes_in_backtrack_buffer to track the number of unread bytes in + the respective buffers. + (openvrml_jpeg_fill_input_buffer(j_decompress_ptr)): Reimplemented + in terms of the boolean "reading" state; fixed reading from the + backtrack buffer for I/O suspension. + + 2007-02-24 Braden McDaniel <br...@en...> + * src/libopenvrml/openvrml/browser.cpp (create_file_url(const uri &)): If the relative URI begins with |