aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-22 17:54:21 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-22 17:54:21 +0000
commit6d4a3dd6d95cf6be8185d9db609ecd24564dc171 (patch)
tree57b4ce095490314a54c9c0349cd06ab1964ef362
parentcc0b57c7720867895ff41ae6c83385ed798e379b (diff)
downloadlibextractor-6d4a3dd6d95cf6be8185d9db609ecd24564dc171.tar.gz
libextractor-6d4a3dd6d95cf6be8185d9db609ecd24564dc171.zip
-just newlines
-rw-r--r--src/plugins/jpeg_extractor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/jpeg_extractor.c b/src/plugins/jpeg_extractor.c
index 87b45dc..5529dab 100644
--- a/src/plugins/jpeg_extractor.c
+++ b/src/plugins/jpeg_extractor.c
@@ -79,11 +79,11 @@ no_exit (j_common_ptr cinfo)
79 79
80 80
81/** 81/**
82 * Main entry method for the 'image/jpeg' extraction plugin. 82 * Main entry method for the 'image/jpeg' extraction plugin.
83 * 83 *
84 * @param ec extraction context provided to the plugin 84 * @param ec extraction context provided to the plugin
85 */ 85 */
86void 86void
87EXTRACTOR_jpeg_extract_method (struct EXTRACTOR_ExtractContext *ec) 87EXTRACTOR_jpeg_extract_method (struct EXTRACTOR_ExtractContext *ec)
88{ 88{
89 struct jpeg_decompress_struct jds; 89 struct jpeg_decompress_struct jds;
@@ -103,7 +103,7 @@ EXTRACTOR_jpeg_extract_method (struct EXTRACTOR_ExtractContext *ec)
103 em.output_message = &no_output; 103 em.output_message = &no_output;
104 em.error_exit = &no_exit; 104 em.error_exit = &no_exit;
105 jds.client_data = &ctx; 105 jds.client_data = &ctx;
106 if (1 == setjmp (ctx.env)) 106 if (1 == setjmp (ctx.env))
107 goto EXIT; /* we get here if libjpeg calls 'no_exit' because it wants to die */ 107 goto EXIT; /* we get here if libjpeg calls 'no_exit' because it wants to die */
108 jds.err = &em; 108 jds.err = &em;
109 jpeg_create_decompress (&jds); 109 jpeg_create_decompress (&jds);
@@ -118,7 +118,7 @@ EXTRACTOR_jpeg_extract_method (struct EXTRACTOR_ExtractContext *ec)
118 break; 118 break;
119 jpeg_mem_src (&jds, buf, size); 119 jpeg_mem_src (&jds, buf, size);
120 if (0 == is_jpeg) 120 if (0 == is_jpeg)
121 { 121 {
122 if (JPEG_HEADER_OK == jpeg_read_header (&jds, 1)) 122 if (JPEG_HEADER_OK == jpeg_read_header (&jds, 1))
123 is_jpeg = 1; /* ok, really a jpeg, keep going until the end */ 123 is_jpeg = 1; /* ok, really a jpeg, keep going until the end */
124 continue; 124 continue;
@@ -171,7 +171,7 @@ EXTRACTOR_jpeg_extract_method (struct EXTRACTOR_ExtractContext *ec)
171 mptr->data_length - off)) 171 mptr->data_length - off))
172 goto EXIT; 172 goto EXIT;
173 } 173 }
174 174
175 EXIT: 175 EXIT:
176 jpeg_destroy_decompress (&jds); 176 jpeg_destroy_decompress (&jds);
177} 177}