Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/libjpeg/jdmarker.c

Issue 31873002: Revert 229729 "Merge 228354 "Better handle SOS CSi values and or..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libjpeg/google.jdmarker.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg/jdmarker.c
===================================================================
--- third_party/libjpeg/jdmarker.c (revision 229746)
+++ third_party/libjpeg/jdmarker.c (working copy)
@@ -342,12 +342,6 @@
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. */
« no previous file with comments | « third_party/libjpeg/google.jdmarker.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698