ffmpeg_2.9
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Fri, 20 Dec 2019 11:17:15 +0000 (11:17 +0000)
committerJoachim Bauch <bauch@struktur.de>
Fri, 20 Dec 2019 11:17:15 +0000 (11:17 +0000)
Gbp-Pq: Name ffmpeg_2.9.patch

sherlock265/VideoDecoder.cc

index 119f615235a690d3374c63a9894e7bea5b6ccb7d..b829e1c7f38dc7b7ba7916da7fb327a2d3a40e12 100644 (file)
@@ -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];