From d934cb408efcb19f8a23c2b893a0674ed761b688 Mon Sep 17 00:00:00 2001 From: Debian Multimedia Maintainers Date: Thu, 19 Apr 2018 10:44:40 +0100 Subject: [PATCH] ffmpeg_2.9 Gbp-Pq: Name ffmpeg_2.9.patch --- sherlock265/VideoDecoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock265/VideoDecoder.cc b/sherlock265/VideoDecoder.cc index 119f615..b829e1c 100644 --- a/sherlock265/VideoDecoder.cc +++ b/sherlock265/VideoDecoder.cc @@ -237,7 +237,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]; -- 2.30.2