summaryrefslogtreecommitdiffstats
path: root/warsow/libjpeg.patch
blob: 54803a0e064b888527ee64d767a2fcf26996cdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- warsow-src/source/ref_gl/r_image.c	2009-06-03 21:52:13.000000000 +0200
+++ warsow-src/source/ref_gl/r_image.c.new	2010-01-31 21:04:41.000000000 +0100
@@ -924,7 +924,7 @@
 	cinfo->src->bytes_in_buffer -= (size_t) num_bytes;
 }
 
-static void jpeg_mem_src( j_decompress_ptr cinfo, qbyte *mem, int len )
+/*static void jpeg_mem_src( j_decompress_ptr cinfo, qbyte *mem, int len )
 {
 	cinfo->src = (struct jpeg_source_mgr *)
 		( *cinfo->mem->alloc_small )( (j_common_ptr) cinfo,
@@ -938,7 +938,7 @@
 	cinfo->src->bytes_in_buffer = len;
 	cinfo->src->next_input_byte = mem;
 }
-
+*/
 /*
 =============
 LoadJPG