aboutsummaryrefslogtreecommitdiff
path: root/transupp.c
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2014-05-18 18:33:44 +0000
committerDRC <dcommander@users.sourceforge.net>2014-05-18 18:33:44 +0000
commit5033f3e19a31e8ad40c1a79700365aefe5664494 (patch)
tree2dc442fb73c4d0ebcb848a5538fb73f470c2511b /transupp.c
parent7f4a81b7692ee22606524a71baa9f45e9355ef3a (diff)
downloadlibjpeg-turbo-5033f3e19a31e8ad40c1a79700365aefe5664494.tar.gz
Remove MS-DOS code and information, and adjust copyright headers to reflect the removal of features in r1307 and r1308. libjpeg-turbo has never supported MS-DOS, nor is it even possible for us to do so.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1312 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'transupp.c')
-rw-r--r--transupp.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/transupp.c b/transupp.c
index 72ef8d81..20c8d594 100644
--- a/transupp.c
+++ b/transupp.c
@@ -1178,7 +1178,7 @@ transpose_critical_parameters (j_compress_ptr dstinfo)
#if JPEG_LIB_VERSION >= 70
LOCAL(void)
-adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
+adjust_exif_parameters (JOCTET * data, unsigned int length,
JDIMENSION new_width, JDIMENSION new_height)
{
boolean is_motorola; /* Flag for byte order */
@@ -1614,17 +1614,7 @@ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
GETJOCTET(marker->data[3]) == 0x62 &&
GETJOCTET(marker->data[4]) == 0x65)
continue; /* reject duplicate Adobe */
-#ifdef NEED_FAR_POINTERS
- /* We could use jpeg_write_marker if the data weren't FAR... */
- {
- unsigned int i;
- jpeg_write_m_header(dstinfo, marker->marker, marker->data_length);
- for (i = 0; i < marker->data_length; i++)
- jpeg_write_m_byte(dstinfo, marker->data[i]);
- }
-#else
jpeg_write_marker(dstinfo, marker->marker,
marker->data, marker->data_length);
-#endif
}
}