Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371938 Details for
Bug 503692
=media-gfx/imagemagick-6.8.8.5: jpeg2k (media-libs/openjpeg:2) support broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
don't use opj_stream_destroy_v3, fixes linking
imagemagick-6.8.8.5-openjpeg-api.patch (text/plain), 2.31 KB, created by
Alexander Miller
on 2014-03-07 04:59:41 UTC
(
hide
)
Description:
don't use opj_stream_destroy_v3, fixes linking
Filename:
MIME Type:
Creator:
Alexander Miller
Created:
2014-03-07 04:59:41 UTC
Size:
2.31 KB
patch
obsolete
>Fix JP2 coder linking. >The new function was added to the API in revision r2293 on 2013-02-03 >and is not present in openjpeg-2.0.0 (released in 2012-11). >Use the older API instead. > >--- coders/jp2.c 2014-01-21 23:10:20 +0100 >+++ coders/jp2.c 2014-03-07 00:47:36 +0100 >@@ -369,7 +369,7 @@ static Image *ReadJP2Image(const ImageIn > if (opj_read_header(jp2_stream,jp2_codec,&jp2_image) == 0) > { > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > opj_destroy_codec(jp2_codec); > ThrowReaderException(DelegateError,"UnableToDecodeImageFile"); > } >@@ -384,7 +384,7 @@ static Image *ReadJP2Image(const ImageIn > if (jp2_status == 0) > { > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > opj_destroy_codec(jp2_codec); > opj_image_destroy(jp2_image); > ThrowReaderException(DelegateError,"UnableToDecodeImageFile"); >@@ -402,13 +402,13 @@ static Image *ReadJP2Image(const ImageIn > if (jp2_status == 0) > { > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > opj_destroy_codec(jp2_codec); > opj_image_destroy(jp2_image); > ThrowReaderException(DelegateError,"UnableToDecodeImageFile"); > } > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > for (i=0; i < (ssize_t) jp2_image->numcomps; i++) > { > if ((jp2_image->comps[i].dx == 0) || (jp2_image->comps[i].dy == 0)) >@@ -1057,7 +1057,7 @@ static MagickBooleanType WriteJP2Image(c > (opj_end_compress(jp2_codec,jp2_stream) == 0)) > { > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > opj_destroy_codec(jp2_codec); > opj_image_destroy(jp2_image); > ThrowWriterException(DelegateError,"UnableToEncodeImageFile"); >@@ -1066,7 +1066,7 @@ static MagickBooleanType WriteJP2Image(c > Free resources. > */ > opj_stream_set_user_data(jp2_stream,NULL); >- opj_stream_destroy_v3(jp2_stream); >+ opj_stream_destroy(jp2_stream); > opj_destroy_codec(jp2_codec); > opj_image_destroy(jp2_image); > (void) CloseBlob(image);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503692
:
371936
| 371938 |
374512