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

Unified Diff: third_party/libjpeg_turbo/jcinit.c

Issue 7554002: Updates libjpeg-turbo to 1.1.90 (r677) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: '' Created 9 years, 5 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_turbo/jchuff.c ('k') | third_party/libjpeg_turbo/jcmarker.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg_turbo/jcinit.c
===================================================================
--- third_party/libjpeg_turbo/jcinit.c (revision 95020)
+++ third_party/libjpeg_turbo/jcinit.c (working copy)
@@ -42,7 +42,11 @@
jinit_forward_dct(cinfo);
/* Entropy encoding: either Huffman or arithmetic coding. */
if (cinfo->arith_code) {
+#ifdef C_ARITH_CODING_SUPPORTED
+ jinit_arith_encoder(cinfo);
+#else
ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
+#endif
} else {
if (cinfo->progressive_mode) {
#ifdef C_PROGRESSIVE_SUPPORTED
« no previous file with comments | « third_party/libjpeg_turbo/jchuff.c ('k') | third_party/libjpeg_turbo/jcmarker.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698