26 lines
869 B
Text
26 lines
869 B
Text
$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
|