forked from pool/libwebp
Compare commits
71 Commits
Author | SHA256 | Date | |
---|---|---|---|
8ce5a4662c | |||
|
af6e66696c | ||
d5449df76b | |||
6937201f61 | |||
ab5e60ea76 | |||
af3a354518 | |||
b093fa120a | |||
7b36c92552 | |||
a9f2451470 | |||
005cc750f2 | |||
9be68b99de | |||
b311e642b0 | |||
c875536a70 | |||
f62ea8f651 | |||
30aefa4476 | |||
f95226c911 | |||
c01190ec28 | |||
552f574b2f | |||
0337f9730e | |||
fee36aeb4a | |||
db6fb08a2b | |||
77d54fa21d | |||
5e3439b229 | |||
e8c5741bfd | |||
a5c2d54898 | |||
176caa37f9 | |||
f00308937a | |||
583782cd77 | |||
d6301c647c | |||
4944402b6b | |||
5049ea5036 | |||
5347e68ed4 | |||
da2fc48d04 | |||
06bcc486ad | |||
33a8ffbdf4 | |||
82aac827c9 | |||
d704d4422b | |||
e427112d07 | |||
ce4b25e3e2 | |||
2832eadbb5 | |||
2e5c9c3d71 | |||
285fa1bcff | |||
f92e2a1b92 | |||
2f6ccbd09c | |||
e3240f894c | |||
86408f5bd7 | |||
c2c0558d03 | |||
e99300a1a4 | |||
|
ea021d555d | ||
e4744c4b44 | |||
|
0d55c1a180 | ||
8c508d5e69 | |||
95279c3838 | |||
781cc06447 | |||
|
a637d263b8 | ||
|
9e01691843 | ||
|
31c133ff23 | ||
|
5072a08750 | ||
593432374a | |||
43cf1cbe82 | |||
|
d37dbcfc4e | ||
|
22ac343ff7 | ||
|
efffc5e173 | ||
|
da59c965f0 | ||
|
5e43a793ab | ||
|
0203e15dd3 | ||
|
f572585298 | ||
|
7e952d349b | ||
|
597f706052 | ||
|
bc7449821b | ||
|
fb9139e1f3 |
@@ -1,48 +0,0 @@
|
|||||||
From 95ea5226c870449522240ccff26f0b006037c520 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Vincent Rabaud <vrabaud@google.com>
|
|
||||||
Date: Mon, 11 Sep 2023 16:06:08 +0200
|
|
||||||
Subject: [PATCH] Fix invalid incremental decoding check.
|
|
||||||
|
|
||||||
The first condition is only necessary if we have not read enough
|
|
||||||
(enough being defined by src_last, not src_end which is the end
|
|
||||||
of the image).
|
|
||||||
The second condition now fits the comment below: "if not
|
|
||||||
incremental, and we are past the end of buffer".
|
|
||||||
|
|
||||||
BUG=oss-fuzz:62136
|
|
||||||
|
|
||||||
Change-Id: I0700f67c62db8e1c02c2e429a069a71e606a5e4f
|
|
||||||
---
|
|
||||||
src/dec/vp8l_dec.c | 15 +++++++++++++--
|
|
||||||
1 file changed, 13 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/dec/vp8l_dec.c b/src/dec/vp8l_dec.c
|
|
||||||
index 5ab34f56..809b1aa9 100644
|
|
||||||
--- a/src/dec/vp8l_dec.c
|
|
||||||
+++ b/src/dec/vp8l_dec.c
|
|
||||||
@@ -1233,9 +1233,20 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
|
|
||||||
}
|
|
||||||
|
|
||||||
br->eos_ = VP8LIsEndOfStream(br);
|
|
||||||
- if (dec->incremental_ && br->eos_ && src < src_end) {
|
|
||||||
+ // In incremental decoding:
|
|
||||||
+ // br->eos_ && src < src_last: if 'br' reached the end of the buffer and
|
|
||||||
+ // 'src_last' has not been reached yet, there is not enough data. 'dec' has to
|
|
||||||
+ // be reset until there is more data.
|
|
||||||
+ // !br->eos_ && src < src_last: this cannot happen as either the buffer is
|
|
||||||
+ // fully read, either enough has been read to reach 'src_last'.
|
|
||||||
+ // src >= src_last: 'src_last' is reached, all is fine. 'src' can actually go
|
|
||||||
+ // beyond 'src_last' in case the image is cropped and an LZ77 goes further.
|
|
||||||
+ // The buffer might have been enough or there is some left. 'br->eos_' does
|
|
||||||
+ // not matter.
|
|
||||||
+ assert(!dec->incremental_ || (br->eos_ && src < src_last) || src >= src_last);
|
|
||||||
+ if (dec->incremental_ && br->eos_ && src < src_last) {
|
|
||||||
RestoreState(dec);
|
|
||||||
- } else if (!br->eos_) {
|
|
||||||
+ } else if ((dec->incremental_ && src >= src_last) || !br->eos_) {
|
|
||||||
// Process the remaining rows corresponding to last row-block.
|
|
||||||
if (process_func != NULL) {
|
|
||||||
process_func(dec, row > last_row ? last_row : row);
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1735689490
|
||||||
|
commit: 18a842b8acf36fdabce27bd0c2a7db0d9dc37aed1128c51ffef3bd3959e838cd
|
||||||
|
url: https://src.opensuse.org/jengelh/libwebp
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2cee98c5e378d58bc0128d7cab6e01eb35fe8882573cdb37620ec28ab020385d
|
||||||
|
size 256
|
BIN
libwebp-1.3.2.tar.gz
(Stored with Git LFS)
BIN
libwebp-1.3.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEaw5rcJdt4wPt8vYB+cPWvbgjK10FAmUCSVoACgkQ+cPWvbgj
|
|
||||||
K13/+xAAxdcgcBz6PAuDriln0NcEGqzLkhstDJIsBr9E/VpXKrr1La4z/7IdCHZv
|
|
||||||
fi7xkH9zBiz+DjhEKICi/ItCJ0toovn0tiZIYZDZWdZ+wyi1Sns+w7rIPjrjNYpN
|
|
||||||
nHCRyG8CZfTPJhPyWwrxj+ESkzogDpd+zEewE4gpLq4K3+HWIVA+IOV8K6tDRXua
|
|
||||||
HgmWqQ+BSqAH9tc2kb8OeUuEYhBevb6PP8ijMKrC04WFI7DaAgCr4JeS3+brTfg+
|
|
||||||
CUEw2af1THOA1vKeNo42xInduX8fZ3HPHAFwJzfNxYzJOyPVsOfG2pDPuUngB360
|
|
||||||
ejc1nBk/tjqmdw01cAjhOKNcY6vctAW3Q8akTI2jCZftEoCbSxLHHdPCGvVOU8xy
|
|
||||||
zPLyq06k71GI6aPYCBUcBqoGSdhY4FsSFkAzc+Ix28h6sJ4jakYPeXq9YoE/66HW
|
|
||||||
s4O7FhBvsGlrUgTehrnFGgX+G9IB63zldfI6XfKZ6Z8upD/oy3EWDPBdvIX2vDQj
|
|
||||||
wxYZtOljtNprljhcQ8xu1Kc68M3H4UYiEynYt1bq0dLucXqbb+axhmv5WilAqoXH
|
|
||||||
iZQxcg6K1OKNSW7XAc0T3a2un8mREJAy4EddBKSsgp7RnHoRkKDzrNzYTPw6DZeh
|
|
||||||
861HUotMSKAFXSLPyVpZRIG6IX6R62e+TKY5zT2hlA7K7UneLFA=
|
|
||||||
=/nBK
|
|
||||||
-----END PGP SIGNATURE-----
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5
|
|
||||||
size 4281370
|
|
@@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEaw5rcJdt4wPt8vYB+cPWvbgjK10FAmYZuzcACgkQ+cPWvbgj
|
|
||||||
K12roBAAv0AS7ROXwqObQpRmhVrm7miHd2SH0OvUm5x2aBv70cAEV//IwGg3nMkp
|
|
||||||
5y4ce/l/Z5TwIlZs+zUVjzYjmZ3+rsO/r1VY7hvaydnjyHPSUykAnp8zW9RiKfv4
|
|
||||||
l4+RHTwvBKHTFKLcvyBx0oXWaS0fXhA09aXJXbBKxCyvI4YC7UfWmca+tVABv4Zo
|
|
||||||
rp2G0HSrU+U2Tu8WZ7bRXEmr5bnNVl1JUNmxbMd5HuNR4YxDVs7+XGeDdNT74GQF
|
|
||||||
tyB9Z7Wj5eeq1NYh97Ujzrd4ChmkJZHSr698jppfX5hShlFNr79nCYVtjnjyis6H
|
|
||||||
299NJEHlN0pbHzhxFRudvnl98EW9gm8WxzA174lF8iQzQ4+KMs7GG3IFu4xqxkh+
|
|
||||||
fHEMphhkarFGwjiH8y5JSHEuppEQswdKh/862XcBJEUwKPFTWC8sXfsVhwSiRiR7
|
|
||||||
rM33Fjz7vNFgOKruTlHruVFjrbN+XIE/S87rlAO5GVJSndlJ5Mnq5vq6lqCOb0nW
|
|
||||||
XDbMw9Glkg2Ao6/xwECS3OjItGUA5XHYwYYKlCQ1n3r5+MvqT+GIYbWA/3aVU0kE
|
|
||||||
HOULCWnnKD7mx/uNnkQalVagPmhG9TgYiwHOJYibYTI5F+ITv+WE2WuXEVK6rr5F
|
|
||||||
UVQd1Wv0F0vDevUfyeihW3opAqhqg/nloasC0PS+hgiSn4OV8HM=
|
|
||||||
=Ty7E
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
libwebp-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
libwebp-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
libwebp-1.5.0.tar.gz.asc
Normal file
16
libwebp-1.5.0.tar.gz.asc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEaw5rcJdt4wPt8vYB+cPWvbgjK10FAmdkzo4ACgkQ+cPWvbgj
|
||||||
|
K10s6BAAkRjFXqBHZw+iXFfNLGrz/DyjhBQmsTOC8F+/2YBBqSzy93/+/zX8PMb7
|
||||||
|
n5A1ZnQgmPSN2N327MXssOfVs6Lj7SNE/7Txyby6Yeei+eD6QK83f1ssz1tmoMRO
|
||||||
|
/nSeBDA/7jKLtmN/1olopMI8VqaUFyMTe9FVnD5CcjcObuPJVpm1b1hiTFKoPDkT
|
||||||
|
mExPdjc/A84fagUtss0dmA7cBi3ykoCc2UKZQfMKX30wD6jYrJZfuoniJYb0UH+N
|
||||||
|
SESFEiYm6QmYZekYWAs7ESZkGJQCb7OmGUnxLRpjNXermNmbR+ynFS4leKcO//Gz
|
||||||
|
vLyULPBZL/I5AYUm7lub9Xbwq6JQJG1GNAxlNHCvxaV1imLAhpAGdhwOyp70y7WN
|
||||||
|
7a0NbC3dRXMJWpunBwFFXroB0wiiHoIt+GxgB+JPInj6SUkkFdBPrSYUs0rZFNMv
|
||||||
|
6EniX53bLSXql2r8wOJrT3Uif63qbYfDUg7IF2Iy1U3qNjgJE7pzUDji5+SRJAkU
|
||||||
|
mIdfoHVDekGY3/Jyvtty4AYm93V9OInoek5fcyoAZdrwbwhtPsmQwtmrrYr74lOg
|
||||||
|
79tPdKYwiY/9XGSsgvHo6ESGOEtFDqvrEvTHDCDCk7iT563Ahp96t4Sz8EJULAKx
|
||||||
|
uLUgchzmLadZLy7qoWr5gJ7gGR2i3Jl/be6cQexjakdVRURlEtk=
|
||||||
|
=bCkl
|
||||||
|
-----END PGP SIGNATURE-----
|
@@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 31 23:56:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.5.0
|
||||||
|
* API changes: `cross_color_transform_bits` added to WebPAuxStats
|
||||||
|
* Minor lossless encoder speed and compression improvements
|
||||||
|
* Lossless encoding does not use floats anymore
|
||||||
|
* Additional ARM optimizations for lossy & lossless + general
|
||||||
|
code generation improvements
|
||||||
|
* Tool updates:
|
||||||
|
* gif2webp: added -sharp_yuv & -near_lossless
|
||||||
|
* img2webp: added -exact & -noexact
|
||||||
|
* Exit codes normalized; running an example program with no
|
||||||
|
arguments will output its help and exit with an error.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 9 20:45:59 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- switch to cmake based build as other packages now require the
|
||||||
|
cmake finders
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 21 14:21:04 UTC 2024 - Yann BOYER <yann.boyer742@gmail.com>
|
Tue May 21 14:21:04 UTC 2024 - Yann BOYER <yann.boyer742@gmail.com>
|
||||||
|
|
||||||
|
32
libwebp.spec
32
libwebp.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libwebp
|
# spec file for package libwebp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libwebp
|
Name: libwebp
|
||||||
Version: 1.4.0
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library and tools for the WebP graphics format
|
Summary: Library and tools for the WebP graphics format
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -29,6 +29,7 @@ Source2: https://storage.googleapis.com/downloads.webmproject.org/release
|
|||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(glut)
|
BuildRequires: pkgconfig(glut)
|
||||||
@@ -139,27 +140,19 @@ images more efficiently.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%cmake
|
||||||
--enable-libwebpmux --enable-libwebpdemux \
|
%cmake_build
|
||||||
--enable-libwebpdecoder --enable-libwebpextras
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%cmake_install
|
||||||
find "%buildroot" -type f -name "*.la" -delete -print
|
find "%buildroot" -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libwebp7 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libwebp7
|
||||||
%postun -n libwebp7 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libwebpdemux2
|
||||||
%post -n libwebpdemux2 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libwebpmux3
|
||||||
%postun -n libwebpdemux2 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libwebpdecoder3
|
||||||
%post -n libwebpmux3 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libsharpyuv0
|
||||||
%postun -n libwebpmux3 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libwebpextras0
|
||||||
%post -n libwebpdecoder3 -p /sbin/ldconfig
|
|
||||||
%postun -n libwebpdecoder3 -p /sbin/ldconfig
|
|
||||||
%post -n libsharpyuv0 -p /sbin/ldconfig
|
|
||||||
%postun -n libsharpyuv0 -p /sbin/ldconfig
|
|
||||||
%post -n libwebpextras0 -p /sbin/ldconfig
|
|
||||||
%postun -n libwebpextras0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libwebp-tools
|
%files -n libwebp-tools
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
@@ -191,5 +184,6 @@ find "%buildroot" -type f -name "*.la" -delete -print
|
|||||||
%_includedir/webp/
|
%_includedir/webp/
|
||||||
%_libdir/pkgconfig/libwebp*.pc
|
%_libdir/pkgconfig/libwebp*.pc
|
||||||
%_libdir/pkgconfig/libsharpyuv.pc
|
%_libdir/pkgconfig/libsharpyuv.pc
|
||||||
|
%_datadir/WebP/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user