Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
xzgv
xzgv-jpegdetect.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xzgv-jpegdetect.diff of Package xzgv
diff -Nur ../xzgv-0.8.orig/src/main.c ./src/main.c --- ../xzgv-0.8.orig/src/main.c 2006-02-14 17:34:31.000000000 +0100 +++ ./src/main.c 2006-02-14 18:05:07.000000000 +0100 @@ -384,7 +384,7 @@ FILE *in; int iret; int make_image=0; -int origw,origh; +int origw=0,origh=0; jpeg_exif_orient=0; @@ -436,7 +436,7 @@ make_image=1; } -if(buf[0]==0xff && buf[1]==0xd8) /* JPEG */ +if((unsigned char)buf[0]==0xff && (unsigned char)buf[1]==0xd8) /* JPEG */ { if(!read_jpeg_file(file,&bmap,&w,&h,&origw,&origh,for_thumbnail)) return(NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor