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

Unified Diff: third_party/libjpeg/google.jdmarker.patch

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/README.chromium ('k') | third_party/libjpeg/jdmarker.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg/google.jdmarker.patch
===================================================================
--- third_party/libjpeg/google.jdmarker.patch (revision 229746)
+++ third_party/libjpeg/google.jdmarker.patch (working copy)
@@ -1,17 +0,0 @@
-diff --git a/third_party/libjpeg/jdmarker.c b/third_party/libjpeg/jdmarker.c
-index f4cca8c..c9325af 100644
---- a/third_party/libjpeg/jdmarker.c
-+++ b/third_party/libjpeg/jdmarker.c
-@@ -342,6 +342,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. */
« no previous file with comments | « third_party/libjpeg/README.chromium ('k') | third_party/libjpeg/jdmarker.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698