Space = Tab
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@256 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -93,7 +93,7 @@ DLLEXPORT tjhandle DLLCALL tjInitCompress(void)
|
|||||||
if(setjmp(j->jerr.jb))
|
if(setjmp(j->jerr.jb))
|
||||||
{ // this will execute if LIBJPEG has an error
|
{ // this will execute if LIBJPEG has an error
|
||||||
if(j) free(j); return NULL;
|
if(j) free(j); return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
jpeg_create_compress(&j->cinfo);
|
jpeg_create_compress(&j->cinfo);
|
||||||
j->cinfo.dest=&j->jdms;
|
j->cinfo.dest=&j->jdms;
|
||||||
@@ -157,7 +157,7 @@ DLLEXPORT int DLLCALL tjCompress(tjhandle h,
|
|||||||
{ // this will execute if LIBJPEG has an error
|
{ // this will execute if LIBJPEG has an error
|
||||||
if(row_pointer) free(row_pointer);
|
if(row_pointer) free(row_pointer);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
jpeg_set_defaults(&j->cinfo);
|
jpeg_set_defaults(&j->cinfo);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user