summaryrefslogtreecommitdiff
path: root/content/handlers/image/jpeg.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-02-17 11:50:39 +0000
committerVincent Sanders <vince@kyllikki.org>2019-02-17 11:50:39 +0000
commit160d15b45b45136d273b16fefb59d9071dd77d6d (patch)
tree7be89e0aad92e71c0fd5094132918309fadc31b8 /content/handlers/image/jpeg.c
parent54371c28f07e638694ad2148e8900e1bae71e3d4 (diff)
downloadnetsurf-vince/webp.tar.gz
netsurf-vince/webp.tar.bz2
add webp image handlervince/webp
Diffstat (limited to 'content/handlers/image/jpeg.c')
-rw-r--r--content/handlers/image/jpeg.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/handlers/image/jpeg.c b/content/handlers/image/jpeg.c
index 123a0bf70..e2f5f8f26 100644
--- a/content/handlers/image/jpeg.c
+++ b/content/handlers/image/jpeg.c
@@ -17,8 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * Content for image/jpeg (implementation).
+/**
+ * \file
+ * implementation of content handling for image/jpeg
*
* This implementation uses the IJG JPEG library.
*/
@@ -161,6 +162,9 @@ static void nsjpeg_error_exit(j_common_ptr cinfo)
longjmp(*setjmp_buffer, 1);
}
+/**
+ * create a bitmap from jpeg content.
+ */
static struct bitmap *
jpeg_cache_convert(struct content *c)
{