[SCM] libde265/master: Added patch by Andreas Cadhalpun to fix compilation with FFmpeg 2.9 (Closes: #803834)

fancycode-guest at users.alioth.debian.org fancycode-guest at users.alioth.debian.org
Mon Jan 11 14:55:27 UTC 2016


The following commit has been merged in the master branch:
commit 28beaa49e1b18e22692bccb1302ec7fc7b1f5925
Author: Joachim Bauch <bauch at struktur.de>
Date:   Mon Jan 11 15:15:34 2016 +0100

    Added patch by Andreas Cadhalpun to fix compilation with FFmpeg 2.9 (Closes: #803834)

diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..2c08cb0
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,15 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
+Last-Update: <2015-11-02>
+
+--- libde265-1.0.2.orig/sherlock265/VideoDecoder.cc
++++ libde265-1.0.2/sherlock265/VideoDecoder.cc
+@@ -219,7 +219,7 @@ void VideoDecoder::convert_frame_swscale
+     }
+     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];
diff --git a/debian/patches/series b/debian/patches/series
index 2ee218a..8697886 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 only_export_decoder_api.patch
 disable_tools.patch
+ffmpeg_2.9.patch

-- 
libde265 packaging



More information about the pkg-multimedia-commits mailing list