ffmpeg_2.9
authorDebian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Mon, 11 Jan 2016 18:12:19 +0000 (18:12 +0000)
committerJoachim Bauch <bauch@struktur.de>
Mon, 11 Jan 2016 18:12:19 +0000 (18:12 +0000)
Gbp-Pq: Name ffmpeg_2.9.patch

sherlock265/VideoDecoder.cc

index a6d486c8318d4290be13535b5d76f9c84cae49c7..467a5c12547a6a2723d397992966d88bb594b72e 100644 (file)
@@ -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];