summaryrefslogtreecommitdiff
blob: d1bb328eed489340c7ed02f5c2077749eb544bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ref_gl/r_image.c.old	2010-01-29 12:35:29.000000000 +0100
+++ ref_gl/r_image.c	2010-01-29 12:37:02.000000000 +0100
@@ -572,6 +572,8 @@
 
 	FS_FreeFile (pcx);
 }
+
+#if JPEG_LIB_VERSION < 80
 /*
 =================================================================
 
@@ -613,6 +615,7 @@
     cinfo->src->bytes_in_buffer = len;
     cinfo->src->next_input_byte = mem;
 }
+#endif
 
 #define DSTATE_START	200	/* after create_decompress */
 #define DSTATE_INHEADER	201	/* reading header markers, no SOS yet */