?
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ jpeg_save(const unsigned int* src_buf, const JPEG* attr, const char* name)
|
||||
if (!fptr || dst_buf == NULL || dst_size <= 0)
|
||||
{
|
||||
tj3Free(dst_buf);
|
||||
return 0;
|
||||
return 25;
|
||||
}
|
||||
fwrite(dst_buf, 1, dst_size, fptr);
|
||||
fclose(fptr);
|
||||
|
||||
Reference in New Issue
Block a user