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

Side by Side Diff: third_party/lpng_v163/pngset.c

Issue 1392373004: Rename lpng and tiff to third_party/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: GN Created 5 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 unified diff | Download patch
OLDNEW
1 /* pngset.c - storage of image information into info struct 1 /* pngset.c - storage of image information into info struct
2 * 2 *
3 * Last changed in libpng 1.6.3 [July 18, 2013] 3 * Last changed in libpng 1.6.3 [July 18, 2013]
4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson 4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson
5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
7 * 7 *
8 * This code is released under the libpng license. 8 * This code is released under the libpng license.
9 * For conditions of distribution and use, see the disclaimer 9 * For conditions of distribution and use, see the disclaimer
10 * and license in png.h 10 * and license in png.h
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 png_debug(1, "in png_set_check_for_invalid_index"); 1587 png_debug(1, "in png_set_check_for_invalid_index");
1588 1588
1589 if (allowed > 0) 1589 if (allowed > 0)
1590 png_ptr->num_palette_max = 0; 1590 png_ptr->num_palette_max = 0;
1591 1591
1592 else 1592 else
1593 png_ptr->num_palette_max = -1; 1593 png_ptr->num_palette_max = -1;
1594 } 1594 }
1595 #endif 1595 #endif
1596 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */ 1596 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698