1 --- xbmc-16.0-Jarvis.orig/xbmc/pictures/Picture.cpp 2016-02-20 16:21:19.000000000 +0100
2 +++ xbmc-16.0-Jarvis/xbmc/pictures/Picture.cpp 2016-03-19 18:38:18.694020244 +0100
3 @@ -342,9 +342,9 @@ bool CPicture::ScaleImage(uint8_t *in_pi
4 uint8_t *out_pixels, unsigned int out_width, unsigned int out_height, unsigned int out_pitch,
5 CPictureScalingAlgorithm::Algorithm scalingAlgorithm /* = CPictureScalingAlgorithm::NoAlgorithm */)
7 - struct SwsContext *context = sws_getContext(in_width, in_height, PIX_FMT_BGRA,
8 - out_width, out_height, PIX_FMT_BGRA,
9 - CPictureScalingAlgorithm::ToSwscale(scalingAlgorithm) | SwScaleCPUFlags(), NULL, NULL, NULL);
10 + struct SwsContext *context = sws_getContext(in_width, in_height, AV_PIX_FMT_BGRA,
11 + out_width, out_height, AV_PIX_FMT_BGRA,
12 + CPictureScalingAlgorithm::ToSwscale(scalingAlgorithm), NULL, NULL, NULL);
14 uint8_t *src[] = { in_pixels, 0, 0, 0 };
15 int srcStride[] = { (int)in_pitch, 0, 0, 0 };