Remove obsolete patches.

This commit is contained in:
Simone Caronni 2014-04-17 11:13:35 +02:00
parent e07961a8ca
commit d732d1a7f4
2 changed files with 0 additions and 29 deletions

View File

@ -1,17 +0,0 @@
diff --git a/jdmarker.c b/jdmarker.c
index 77f7274..7b4c12d 100644
--- a/jdmarker.c
+++ b/jdmarker.c
@@ -348,6 +348,12 @@ get_sos (j_decompress_ptr cinfo)
TRACEMS3(cinfo, 1, JTRC_SOS_COMPONENT, cc,
compptr->dc_tbl_no, compptr->ac_tbl_no);
+
+ /* This CSi (cc) should differ from the previous CSi */
+ for (ci = 0; ci < i; ci++) {
+ if (cinfo->cur_comp_info[ci] == compptr)
+ ERREXIT1(cinfo, JERR_BAD_COMPONENT_ID, cc);
+ }
}
/* Collect the additional scan parameters Ss, Se, Ah/Al. */

View File

@ -1,12 +0,0 @@
diff --git a/jdmarker.c b/jdmarker.c
index 7b4c12d..381835b 100644
--- a/jdmarker.c
+++ b/jdmarker.c
@@ -471,6 +471,7 @@ get_dht (j_decompress_ptr cinfo)
for (i = 0; i < count; i++)
INPUT_BYTE(cinfo, huffval[i], return FALSE);
+ MEMZERO(&huffval[count], (256 - count) * SIZEOF(UINT8));
length -= count;
if (index & 0x10) { /* AC table definition */