diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-05-31 15:45:28 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 16:48:24 +0100 |
commit | 3d2b83a2b43a03e19ad3365b2a35bb59eeadce3d (patch) | |
tree | 22cfaebe2107b25552b1f1855f5d3b7ddfac42a2 /meta/recipes-multimedia/libpng/libpng | |
parent | c99fd8dfebf2284bbed3ed3034e518ffef1aaf3f (diff) | |
download | poky-3d2b83a2b43a03e19ad3365b2a35bb59eeadce3d.tar.gz |
libpng : upgrade to 1.6.2
upgrade from 1.6.1 -> 1.6.2
- removed patch contained upstream
- minor changes in png.h and LICENSE file ( changes
regarding the date )
(From OE-Core rev: c71a175add6493a2a419e46ab0ef96cbd3fcb70a)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libpng/libpng')
-rw-r--r-- | meta/recipes-multimedia/libpng/libpng/transform.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-multimedia/libpng/libpng/transform.patch b/meta/recipes-multimedia/libpng/libpng/transform.patch deleted file mode 100644 index 369a2c0b7f..0000000000 --- a/meta/recipes-multimedia/libpng/libpng/transform.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | Corrected the test on user transform changes on read. It was in the png_set of | ||
2 | the transform function, but that doesn't matter unless the transform function | ||
3 | changes the rowbuf size, and that is only valid if transform_info is called. | ||
4 | |||
5 | Upstream-Status: Backport (will be in 1.6.2) | ||
6 | - b44cd59ad9747069b90c6ff0f76558157a61e26a | ||
7 | - a8715cabd11354da9650dff7c0770686a217b550 | ||
8 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
9 | |||
10 | |||
11 | diff --git a/pngrtran.c b/pngrtran.c | ||
12 | index 626f3b0..4485e40 100644 | ||
13 | --- a/pngrtran.c | ||
14 | +++ b/pngrtran.c | ||
15 | @@ -1056,9 +1056,6 @@ png_set_read_user_transform_fn(png_structrp png_ptr, png_user_transform_ptr | ||
16 | { | ||
17 | png_debug(1, "in png_set_read_user_transform_fn"); | ||
18 | |||
19 | - if (!png_rtran_ok(png_ptr, 0)) | ||
20 | - return; | ||
21 | - | ||
22 | #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED | ||
23 | png_ptr->transformations |= PNG_USER_TRANSFORM; | ||
24 | png_ptr->read_user_transform_fn = read_user_transform_fn; | ||
25 | diff --git a/pngtrans.c b/pngtrans.c | ||
26 | index b532172..f822324 100644 | ||
27 | --- a/pngtrans.c | ||
28 | +++ b/pngtrans.c | ||
29 | @@ -782,6 +782,17 @@ png_set_user_transform_info(png_structrp png_ptr, png_voidp | ||
30 | |||
31 | if (png_ptr == NULL) | ||
32 | return; | ||
33 | + | ||
34 | +#ifdef PNG_READ_USER_TRANSFORM_SUPPORTED | ||
35 | + if ((png_ptr->mode & PNG_IS_READ_STRUCT) != 0 && | ||
36 | + (png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) | ||
37 | + { | ||
38 | + png_app_error(png_ptr, | ||
39 | + "info change after png_start_read_image or png_read_update_info"); | ||
40 | + return; | ||
41 | + } | ||
42 | +#endif | ||
43 | + | ||
44 | png_ptr->user_transform_ptr = user_transform_ptr; | ||
45 | png_ptr->user_transform_depth = (png_byte)user_transform_depth; | ||
46 | png_ptr->user_transform_channels = (png_byte)user_transform_channels; | ||