Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 247292 | Differences between
and this patch

Collapse All | Expand All

(-)xine-lib-1.1.15.orig/src/libxinevdec/image.c (-1 / +1 lines)
Lines 110-116 Link Here
110
    width = MagickGetImageWidth(wand) & ~1; /* must be even for init_yuv_planes */
110
    width = MagickGetImageWidth(wand) & ~1; /* must be even for init_yuv_planes */
111
    height = MagickGetImageHeight(wand);
111
    height = MagickGetImageHeight(wand);
112
    img_buf = malloc(width * height * 3);
112
    img_buf = malloc(width * height * 3);
113
    MagickGetImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf);
113
    MagickGetAuthenticPixels(wand, 0, 0, width, height, "RGB", CharPixel, img_buf);
114
    DestroyMagickWand(wand);
114
    DestroyMagickWand(wand);
115
115
116
    _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, width);
116
    _x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, width);

Return to bug 247292