blob: aa9eb36c285094fb05015668e12010af4860cd56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-ac,v 1.1 2010/03/03 07:07:40 wiz Exp $
--- src/tools/ufo2map/common/imagelib.c.orig 2008-04-25 16:15:01.000000000 +0000
+++ src/tools/ufo2map/common/imagelib.c
@@ -301,21 +301,6 @@ static void jpg_skip_input_data (j_decom
/**
* @brief
- */
-static void jpeg_mem_src (j_decompress_ptr cinfo, byte * mem, int len)
-{
- cinfo->src = (struct jpeg_source_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof(struct jpeg_source_mgr));
- cinfo->src->init_source = jpg_null;
- cinfo->src->fill_input_buffer = jpg_fill_input_buffer;
- cinfo->src->skip_input_data = jpg_skip_input_data;
- cinfo->src->resync_to_restart = jpeg_resync_to_restart;
- cinfo->src->term_source = jpg_null;
- cinfo->src->bytes_in_buffer = len;
- cinfo->src->next_input_byte = mem;
-}
-
-/**
- * @brief
* @sa LoadTGA
* @sa LoadPNG
* @sa R_FindImage
|