From: Debian Multimedia Maintainers Date: Mon, 11 Jan 2016 18:12:19 +0000 (+0000) Subject: ffmpeg_2.9 X-Git-Tag: archive/raspbian/1.0.3-1+rpi1~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c2c068f30652fd3e63b55c509ae50828c98daa22;p=libde265.git ffmpeg_2.9 Gbp-Pq: Name ffmpeg_2.9.patch --- diff --git a/sherlock265/VideoDecoder.cc b/sherlock265/VideoDecoder.cc index a6d486c..467a5c1 100644 --- a/sherlock265/VideoDecoder.cc +++ b/sherlock265/VideoDecoder.cc @@ -219,7 +219,7 @@ void VideoDecoder::convert_frame_swscale(const de265_image* img, QImage & qimg) } width = img->get_width(); height = img->get_height(); - sws = sws_getContext(width, height, PIX_FMT_YUV420P, width, height, PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL); + sws = sws_getContext(width, height, AV_PIX_FMT_YUV420P, width, height, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL); } int stride[3];