GNOME Bugzilla – Bug 397643
two small io-jpeg.c fixes
Last modified: 2010-07-10 04:07:24 UTC
Attached patch from maemo-gtk fixes two small things in io-jpeg.c
Created attachment 80513 [details] [review] Patch fixing the bugs - return the right boolean value from stop_load() - pull check for infinite looping out of else branch in load_increment()
Mitch, did we come to a conclusion about this patch ? Did tko dig out test cases ?
Created attachment 85442 [details] pixbuf-load.c by tko pixbuf-load will load & scale a pixbuf when options -w or -h are given, using gdk_pixbuf_new_from_file_at_size() which uses different loader code paths than gdk_pixbuf_new_from_file().
Created attachment 85443 [details] corrupted jpeg test file this jpeg file when loaded with gdk_pixbuf_new_from_file_at_size(), like: ./pixbuf-load -w 64 -h 54 scale+hang.jpg will cause the pixbuf loaders to hang.
Wed Mar 28 15:27:35 2007 Tim Janik <timj@imendio.com> * io-jpeg.c: applied JPEG loader fix from maemo. this fix makes sure stop_load() doesn't forget about its return value, and it pulls the check for infinite looping out of an else branch in load_increment() so it runs unconditionally, fixes #397643.