update http links

- prefer https

- metadataworkinggroup.org/com seem to be offline; the web archive link
  was obtained from exiftool: https://exiftool.org/TagNames/MWG.html

- fix kramdown link, rubyforge has been gone a long time

- fix png/zlib links

Bug: webp:544
Bug: b/202302177
Change-Id: Id69de4553e7baf00393f12a2c1acb262443a1a93
This commit is contained in:
James Zern 2021-11-17 11:16:58 -08:00
parent 8f5cb4c18e
commit b6f756e82b
25 changed files with 52 additions and 52 deletions

12
README
View File

@ -13,13 +13,13 @@ WebP codec: library to encode and decode images in WebP format. This package
contains the library that can be used in other programs to add WebP support, contains the library that can be used in other programs to add WebP support,
as well as the command line tools 'cwebp' and 'dwebp'. as well as the command line tools 'cwebp' and 'dwebp'.
See http://developers.google.com/speed/webp See https://developers.google.com/speed/webp
The latest source tree is available at The latest source tree is available at
https://chromium.googlesource.com/webm/libwebp https://chromium.googlesource.com/webm/libwebp
It is released under the same license as the WebM project. It is released under the same license as the WebM project.
See http://www.webmproject.org/license/software/ or the See https://www.webmproject.org/license/software/ or the
"COPYING" file for details. An additional intellectual "COPYING" file for details. An additional intellectual
property rights grant can be found in the file PATENTS. property rights grant can be found in the file PATENTS.
@ -436,8 +436,8 @@ Prerequisites:
2) (Optional) qcms (Quick Color Management System) 2) (Optional) qcms (Quick Color Management System)
i. Download qcms from Mozilla / Chromium: i. Download qcms from Mozilla / Chromium:
http://hg.mozilla.org/mozilla-central/file/0e7639e3bdfb/gfx/qcms https://hg.mozilla.org/mozilla-central/file/0e7639e3bdfb/gfx/qcms
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/qcms https://source.chromium.org/chromium/chromium/src/+/main:third_party/qcms/;drc=d4a2f8e1ed461d8fc05ed88d1ae2dc94c9773825
ii. Build and archive the source files as libqcms.a / qcms.lib ii. Build and archive the source files as libqcms.a / qcms.lib
iii. Update makefile.unix / Makefile.vc iii. Update makefile.unix / Makefile.vc
a) Define WEBP_HAVE_QCMS a) Define WEBP_HAVE_QCMS
@ -786,10 +786,10 @@ Bugs:
Please report all bugs to the issue tracker: Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting-patches/ https://www.webmproject.org/code/contribute/submitting-patches/
Discuss: Discuss:
======== ========
Email: webp-discuss@webmproject.org Email: webp-discuss@webmproject.org
Web: http://groups.google.com/a/webmproject.org/group/webp-discuss Web: https://groups.google.com/a/webmproject.org/group/webp-discuss

View File

@ -249,10 +249,10 @@ Bugs:
Please report all bugs to the issue tracker: Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting-patches/ https://www.webmproject.org/code/contribute/submitting-patches/
Discuss: Discuss:
======== ========
Email: webp-discuss@webmproject.org Email: webp-discuss@webmproject.org
Web: http://groups.google.com/a/webmproject.org/group/webp-discuss Web: https://groups.google.com/a/webmproject.org/group/webp-discuss

View File

@ -1,6 +1,6 @@
AC_INIT([libwebp], [1.2.1], AC_INIT([libwebp], [1.2.1],
[https://bugs.chromium.org/p/webp],, [https://bugs.chromium.org/p/webp],,
[http://developers.google.com/speed/webp]) [https://developers.google.com/speed/webp])
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_PREREQ([2.60]) AC_PREREQ([2.60])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])

View File

@ -6,8 +6,8 @@ HTML generation requires kramdown [1], easily installed as a
rubygem [2]. Rubygems installation should satisfy dependencies rubygem [2]. Rubygems installation should satisfy dependencies
automatically. automatically.
[1]: http://kramdown.rubyforge.org/ [1]: https://kramdown.gettalong.org/
[2]: http://rubygems.org/ [2]: https://rubygems.org/
HTML generation can then be done from the project root: HTML generation can then be done from the project root:
@ -26,4 +26,4 @@ $ kramdown doc/webp-lossless-bitstream-spec.txt --template \
Optimally, use kramdown 0.13.7 or newer if syntax highlighting desired. Optimally, use kramdown 0.13.7 or newer if syntax highlighting desired.
[3]: http://coderay.rubychan.de/ [3]: https://github.com/rubychan/coderay

View File

@ -2,7 +2,7 @@
Although you may be viewing an alternate representation, this document Although you may be viewing an alternate representation, this document
is sourced in Markdown, a light-duty markup scheme, and is optimized for is sourced in Markdown, a light-duty markup scheme, and is optimized for
the [kramdown](http://kramdown.rubyforge.org/) transformer. the [kramdown](https://kramdown.gettalong.org/) transformer.
See the accompanying README. External link targets are referenced at the See the accompanying README. External link targets are referenced at the
end of this file. end of this file.
@ -813,7 +813,7 @@ RIFF/WEBP
[vp8spec]: https://datatracker.ietf.org/doc/html/rfc6386 [vp8spec]: https://datatracker.ietf.org/doc/html/rfc6386
[webpllspec]: https://chromium.googlesource.com/webm/libwebp/+/HEAD/doc/webp-lossless-bitstream-spec.txt [webpllspec]: https://chromium.googlesource.com/webm/libwebp/+/HEAD/doc/webp-lossless-bitstream-spec.txt
[iccspec]: http://www.color.org/icc_specs2.xalter [iccspec]: https://www.color.org/icc_specs2.xalter
[metadata]: http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf [metadata]: https://web.archive.org/web/20180919181934/http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf
[rfc 1166]: https://datatracker.ietf.org/doc/html/rfc1166 [rfc 1166]: https://datatracker.ietf.org/doc/html/rfc1166
[rfc 2119]: https://datatracker.ietf.org/doc/html/rfc2119 [rfc 2119]: https://datatracker.ietf.org/doc/html/rfc2119

View File

@ -2,7 +2,7 @@
Although you may be viewing an alternate representation, this document Although you may be viewing an alternate representation, this document
is sourced in Markdown, a light-duty markup scheme, and is optimized for is sourced in Markdown, a light-duty markup scheme, and is optimized for
the [kramdown](http://kramdown.rubyforge.org/) transformer. the [kramdown](https://kramdown.gettalong.org/) transformer.
See the accompanying README. External link targets are referenced at the See the accompanying README. External link targets are referenced at the
end of this file. end of this file.
@ -1087,4 +1087,4 @@ A possible example sequence:
<lz77-coded image> <lz77-coded image>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[canonical_huff]: http://en.wikipedia.org/wiki/Canonical_Huffman_code [canonical_huff]: https://en.wikipedia.org/wiki/Canonical_Huffman_code

View File

@ -79,7 +79,7 @@ int WebPWriteTIFF(FILE* fout, const struct WebPDecBuffer* const buffer);
int WebPWriteAlphaPlane(FILE* fout, const struct WebPDecBuffer* const buffer); int WebPWriteAlphaPlane(FILE* fout, const struct WebPDecBuffer* const buffer);
// Save as YUV samples as PGM format (using IMC4 layout). // Save as YUV samples as PGM format (using IMC4 layout).
// See: http://www.fourcc.org/yuv.php#IMC4. // See: https://www.fourcc.org/yuv.php#IMC4.
// (very convenient format for viewing the samples, esp. for odd dimensions). // (very convenient format for viewing the samples, esp. for odd dimensions).
int WebPWritePGM(FILE* fout, const struct WebPDecBuffer* const buffer); int WebPWritePGM(FILE* fout, const struct WebPDecBuffer* const buffer);

View File

@ -133,7 +133,7 @@ static const struct {
MetadataPayload* const payload); MetadataPayload* const payload);
size_t storage_offset; size_t storage_offset;
} kPNGMetadataMap[] = { } kPNGMetadataMap[] = {
// http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html#TextualData // https://exiftool.org/TagNames/PNG.html#TextualData
// See also: ExifTool on CPAN. // See also: ExifTool on CPAN.
{ "Raw profile type exif", ProcessRawProfile, METADATA_OFFSET(exif) }, { "Raw profile type exif", ProcessRawProfile, METADATA_OFFSET(exif) },
{ "Raw profile type xmp", ProcessRawProfile, METADATA_OFFSET(xmp) }, { "Raw profile type xmp", ProcessRawProfile, METADATA_OFFSET(xmp) },

View File

@ -9,7 +9,7 @@
# (the previous build will be erased if it exists). # (the previous build will be erased if it exists).
# #
# This script is inspired by the build script written by Carson McDonald. # This script is inspired by the build script written by Carson McDonald.
# (http://www.ioncannon.net/programming/1483/using-webp-to-reduce-native-ios-app-size/). # (https://www.ioncannon.net/programming/1483/using-webp-to-reduce-native-ios-app-size/).
set -e set -e
@ -86,7 +86,7 @@ if [[ ! -e ${SRCDIR}/configure ]]; then
Error creating configure script! Error creating configure script!
This script requires the autoconf/automake and libtool to build. MacPorts can This script requires the autoconf/automake and libtool to build. MacPorts can
be used to obtain these: be used to obtain these:
http://www.macports.org/install.php https://www.macports.org/install.php
EOF EOF
exit 1 exit 1
fi fi

View File

@ -47,7 +47,7 @@ else
endif endif
# To install libraries on Mac OS X: # To install libraries on Mac OS X:
# 1. Install MacPorts (http://www.macports.org/install.php) # 1. Install MacPorts (https://www.macports.org/install.php)
# 2. Run "sudo port install jpeg" # 2. Run "sudo port install jpeg"
# 3. Run "sudo port install libpng" # 3. Run "sudo port install libpng"
# 4. Run "sudo port install tiff" # 4. Run "sudo port install tiff"

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH CWEBP 1 "November 19, 2020" .TH CWEBP 1 "November 17, 2021"
.SH NAME .SH NAME
cwebp \- compress an image file to a WebP file cwebp \- compress an image file to a WebP file
.SH SYNOPSIS .SH SYNOPSIS
@ -222,7 +222,7 @@ Compute and report average PSNR (Peak\-Signal\-To\-Noise ratio).
.TP .TP
.B \-print_ssim .B \-print_ssim
Compute and report average SSIM (structural similarity Compute and report average SSIM (structural similarity
metric, see http://en.wikipedia.org/wiki/SSIM for additional details). metric, see https://en.wikipedia.org/wiki/SSIM for additional details).
.TP .TP
.B \-print_lsim .B \-print_lsim
Compute and report local similarity metric (sum of lowest error amongst the Compute and report local similarity metric (sum of lowest error amongst the
@ -298,7 +298,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting\-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
cwebp \-q 50 -lossless picture.png \-o picture_lossless.webp cwebp \-q 50 -lossless picture.png \-o picture_lossless.webp
@ -322,5 +322,5 @@ for the Debian project (and may be used by others).
.BR dwebp (1), .BR dwebp (1),
.BR gif2webp (1) .BR gif2webp (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH DWEBP 1 "November 19, 2020" .TH DWEBP 1 "November 17, 2021"
.SH NAME .SH NAME
dwebp \- decompress a WebP file to an image file dwebp \- decompress a WebP file to an image file
.SH SYNOPSIS .SH SYNOPSIS
@ -113,7 +113,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
dwebp picture.webp \-o output.png dwebp picture.webp \-o output.png
@ -138,7 +138,7 @@ for the Debian project (and may be used by others).
.BR gif2webp (1), .BR gif2webp (1),
.BR webpmux (1) .BR webpmux (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.
.SS Output file format details .SS Output file format details
PAM: http://netpbm.sourceforge.net/doc/pam.html PAM: http://netpbm.sourceforge.net/doc/pam.html

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH GIF2WEBP 1 "May 1, 2020" .TH GIF2WEBP 1 "November 17, 2021"
.SH NAME .SH NAME
gif2webp \- Convert a GIF image to WebP gif2webp \- Convert a GIF image to WebP
.SH SYNOPSIS .SH SYNOPSIS
@ -131,7 +131,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
gif2webp picture.gif \-o picture.webp gif2webp picture.gif \-o picture.webp
@ -160,5 +160,5 @@ Debian project (and may be used by others).
.BR dwebp (1), .BR dwebp (1),
.BR webpmux (1) .BR webpmux (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH IMG2WEBP 1 "May 1, 2020" .TH IMG2WEBP 1 "November 17, 2021"
.SH NAME .SH NAME
img2webp \- create animated WebP file from a sequence of input images. img2webp \- create animated WebP file from a sequence of input images.
.SH SYNOPSIS .SH SYNOPSIS
@ -86,7 +86,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting\-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH AUTHORS .SH AUTHORS
\fBimg2webp\fP is a part of libwebp and was written by the WebP team. \fBimg2webp\fP is a part of libwebp and was written by the WebP team.
@ -101,5 +101,5 @@ for the Debian project (and may be used by others).
.BR webpmux (1), .BR webpmux (1),
.BR gif2webp (1) .BR gif2webp (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH VWEBP 1 "June 5, 2019" .TH VWEBP 1 "November 17, 2021"
.SH NAME .SH NAME
vwebp \- decompress a WebP file and display it in a window vwebp \- decompress a WebP file and display it in a window
.SH SYNOPSIS .SH SYNOPSIS
@ -77,7 +77,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
vwebp picture.webp vwebp picture.webp
@ -97,5 +97,5 @@ This manual page was written for the Debian project (and may be used by others).
.SH SEE ALSO .SH SEE ALSO
.BR dwebp (1) .BR dwebp (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH WEBPINFO 1 "November 24, 2017" .TH WEBPINFO 1 "November 17, 2021"
.SH NAME .SH NAME
webpinfo \- print out the chunk level structure of WebP files webpinfo \- print out the chunk level structure of WebP files
along with basic integrity checks. along with basic integrity checks.
@ -52,7 +52,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting\-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
.br .br
@ -76,5 +76,5 @@ for the Debian project (and may be used by others).
.SH SEE ALSO .SH SEE ALSO
.BR webpmux (1) .BR webpmux (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH WEBPMUX 1 "November 3, 2021" .TH WEBPMUX 1 "November 17, 2021"
.SH NAME .SH NAME
webpmux \- create animated WebP files from non\-animated WebP images, extract webpmux \- create animated WebP files from non\-animated WebP images, extract
frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile. frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.
@ -191,7 +191,7 @@ Please report all bugs to the issue tracker:
https://bugs.chromium.org/p/webp https://bugs.chromium.org/p/webp
.br .br
Patches welcome! See this page to get started: Patches welcome! See this page to get started:
http://www.webmproject.org/code/contribute/submitting\-patches/ https://www.webmproject.org/code/contribute/submitting\-patches/
.SH EXAMPLES .SH EXAMPLES
.P .P
@ -267,5 +267,5 @@ for the Debian project (and may be used by others).
.BR dwebp (1), .BR dwebp (1),
.BR gif2webp (1) .BR gif2webp (1)
.br .br
Please refer to http://developers.google.com/speed/webp/ for additional Please refer to https://developers.google.com/speed/webp/ for additional
information. information.

View File

@ -84,7 +84,7 @@ static const uint8_t kCodeToPlane[CODE_TO_PLANE_CODES] = {
// to 256 (green component values) + 24 (length prefix values) // to 256 (green component values) + 24 (length prefix values)
// + color_cache_size (between 0 and 2048). // + color_cache_size (between 0 and 2048).
// All values computed for 8-bit first level lookup with Mark Adler's tool: // All values computed for 8-bit first level lookup with Mark Adler's tool:
// http://www.hdfgroup.org/ftp/lib-external/zlib/zlib-1.2.5/examples/enough.c // https://github.com/madler/zlib/blob/v1.2.5/examples/enough.c
#define FIXED_TABLE_SIZE (630 * 3 + 410) #define FIXED_TABLE_SIZE (630 * 3 + 410)
static const uint16_t kTableSize[12] = { static const uint16_t kTableSize[12] = {
FIXED_TABLE_SIZE + 654, FIXED_TABLE_SIZE + 654,

View File

@ -9,7 +9,7 @@
// //
// ARM NEON version of speed-critical encoding functions. // ARM NEON version of speed-critical encoding functions.
// //
// adapted from libvpx (http://www.webmproject.org/code/) // adapted from libvpx (https://www.webmproject.org/code/)
#include "src/dsp/dsp.h" #include "src/dsp/dsp.h"

View File

@ -10,7 +10,7 @@
// inline YUV<->RGB conversion function // inline YUV<->RGB conversion function
// //
// The exact naming is Y'CbCr, following the ITU-R BT.601 standard. // The exact naming is Y'CbCr, following the ITU-R BT.601 standard.
// More information at: http://en.wikipedia.org/wiki/YCbCr // More information at: https://en.wikipedia.org/wiki/YCbCr
// Y = 0.2569 * R + 0.5044 * G + 0.0979 * B + 16 // Y = 0.2569 * R + 0.5044 * G + 0.0979 * B + 16
// U = -0.1483 * R - 0.2911 * G + 0.4394 * B + 128 // U = -0.1483 * R - 0.2911 * G + 0.4394 * B + 128
// V = 0.4394 * R - 0.3679 * G - 0.0715 * B + 128 // V = 0.4394 * R - 0.3679 * G - 0.0715 * B + 128

View File

@ -161,7 +161,7 @@ static void SetBitDepths(const HuffmanTree* const tree,
// especially when population counts are longer than 2**tree_limit, but // especially when population counts are longer than 2**tree_limit, but
// we are not planning to use this with extremely long blocks. // we are not planning to use this with extremely long blocks.
// //
// See http://en.wikipedia.org/wiki/Huffman_coding // See https://en.wikipedia.org/wiki/Huffman_coding
static void GenerateOptimalTree(const uint32_t* const histogram, static void GenerateOptimalTree(const uint32_t* const histogram,
int histogram_size, int histogram_size,
HuffmanTree* tree, int tree_depth_limit, HuffmanTree* tree, int tree_depth_limit,

View File

@ -30,7 +30,7 @@
#define DFIX 4 // extra precision for ordered dithering #define DFIX 4 // extra precision for ordered dithering
#define DSIZE 4 // dithering size (must be a power of two) #define DSIZE 4 // dithering size (must be a power of two)
// cf. http://en.wikipedia.org/wiki/Ordered_dithering // cf. https://en.wikipedia.org/wiki/Ordered_dithering
static const uint8_t kOrderedDither[DSIZE][DSIZE] = { static const uint8_t kOrderedDither[DSIZE][DSIZE] = {
{ 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision
{ 12, 4, 14, 6 }, { 12, 4, 14, 6 },

View File

@ -23,7 +23,7 @@
// alloc/free etc) is printed. For debugging/tuning purpose only (it's slow, // alloc/free etc) is printed. For debugging/tuning purpose only (it's slow,
// and not multi-thread safe!). // and not multi-thread safe!).
// An interesting alternative is valgrind's 'massif' tool: // An interesting alternative is valgrind's 'massif' tool:
// http://valgrind.org/docs/manual/ms-manual.html // https://valgrind.org/docs/manual/ms-manual.html
// Here is an example command line: // Here is an example command line:
/* valgrind --tool=massif --massif-out-file=massif.out \ /* valgrind --tool=massif --massif-out-file=massif.out \
--stacks=yes --alloc-fn=WebPSafeMalloc --alloc-fn=WebPSafeCalloc --stacks=yes --alloc-fn=WebPSafeMalloc --alloc-fn=WebPSafeCalloc

View File

@ -85,7 +85,7 @@ WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size,
// Upon return, the Y buffer has a stride returned as '*stride', while U and V // Upon return, the Y buffer has a stride returned as '*stride', while U and V
// have a common stride returned as '*uv_stride'. // have a common stride returned as '*uv_stride'.
// Return NULL in case of error. // Return NULL in case of error.
// (*) Also named Y'CbCr. See: http://en.wikipedia.org/wiki/YCbCr // (*) Also named Y'CbCr. See: https://en.wikipedia.org/wiki/YCbCr
WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size, WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size,
int* width, int* height, int* width, int* height,
uint8_t** u, uint8_t** v, uint8_t** u, uint8_t** v,

View File

@ -105,7 +105,7 @@ if [[ ! -e ${SRCDIR}/configure ]]; then
Error creating configure script! Error creating configure script!
This script requires the autoconf/automake and libtool to build. MacPorts or This script requires the autoconf/automake and libtool to build. MacPorts or
Homebrew can be used to obtain these: Homebrew can be used to obtain these:
http://www.macports.org/install.php https://www.macports.org/install.php
https://brew.sh/ https://brew.sh/
EOF EOF
exit 1 exit 1