cjpeg.c: Code formatting tweak
This commit is contained in:
22
cjpeg.c
22
cjpeg.c
@@ -171,18 +171,18 @@ static void my_emit_message(j_common_ptr cinfo, int msg_level)
|
|||||||
cinfo->err->num_warnings++;
|
cinfo->err->num_warnings++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HANDLE_ERROR() { \
|
#define HANDLE_ERROR() { \
|
||||||
if (cinfo.global_state > CSTATE_START) { \
|
if (cinfo.global_state > CSTATE_START) { \
|
||||||
if (memdst && outbuffer) \
|
if (memdst && outbuffer) \
|
||||||
(*cinfo.dest->term_destination) (&cinfo); \
|
(*cinfo.dest->term_destination) (&cinfo); \
|
||||||
jpeg_abort_compress(&cinfo); \
|
jpeg_abort_compress(&cinfo); \
|
||||||
} \
|
} \
|
||||||
jpeg_destroy_compress(&cinfo); \
|
jpeg_destroy_compress(&cinfo); \
|
||||||
if (input_file != stdin && input_file != NULL) \
|
if (input_file != stdin && input_file != NULL) \
|
||||||
fclose(input_file); \
|
fclose(input_file); \
|
||||||
if (memdst) \
|
if (memdst) \
|
||||||
free(outbuffer); \
|
free(outbuffer); \
|
||||||
return EXIT_FAILURE; \
|
return EXIT_FAILURE; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user