Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 173547 Details for
Bug 247292
media-libs/xine-lib-1.1.15 does not build with ImageMagick 6.4.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xine-lib-1.1.15-GetImagePixels-alt.patch
xine-lib-1.1.15-GetImagePixels-alt.patch (text/plain), 974 bytes, created by
Robin Johnson
on 2008-11-27 03:05:03 UTC
(
hide
)
Description:
xine-lib-1.1.15-GetImagePixels-alt.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2008-11-27 03:05:03 UTC
Size:
974 bytes
patch
obsolete
>Upstream ImageMagick changed part of the API and did not updated their >deprecated support stuff, so update code to the new function name for >=6.4.5.4 >versions. > >Gentoo-bug: 247292 >Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> > >diff -Nuar --exclude '*~' xine-lib-1.1.15.orig/src/libxinevdec/image.c xine-lib-1.1.15/src/libxinevdec/image.c >--- xine-lib-1.1.15.orig/src/libxinevdec/image.c 2008-06-14 16:15:00.000000000 -0700 >+++ xine-lib-1.1.15/src/libxinevdec/image.c 2008-11-26 18:10:16.416309036 -0800 >@@ -110,7 +110,7 @@ > width = MagickGetImageWidth(wand) & ~1; /* must be even for init_yuv_planes */ > height = MagickGetImageHeight(wand); > img_buf = malloc(width * height * 3); >- MagickGetImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf); >+ MagickGetAuthenticPixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf); > DestroyMagickWand(wand); > > _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, width);
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 247292
:
173546
| 173547 |
177324