[SCM] blender/master: New patch to resolve libav's API changes

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Tue Jan 24 10:09:04 UTC 2012


The following commit has been merged in the master branch:
commit 64ce1960c545d5d4d680109db5e9f10258981c80
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Sat Jan 21 15:28:38 2012 +0100

    New patch to resolve libav's API changes
    
    Thanks: Thomas Preud'homme

diff --git a/debian/patches/0011-adapt_to_libav_API_changes.patch b/debian/patches/0011-adapt_to_libav_API_changes.patch
new file mode 100644
index 0000000..8d86f36
--- /dev/null
+++ b/debian/patches/0011-adapt_to_libav_API_changes.patch
@@ -0,0 +1,30 @@
+Description: Adapt to libavutil API changes
+ Add include for libavutil/mathematics.h in ffmpeg_compat.h and writeffmpeg.c
+ since it is no longer included in libavutil/avutil.h
+Author: Thomas Preud'homme <robotux at celest.fr>
+Origin: vendor
+Forwarded: no
+Last-Update: 2012-01-19
+---
+
+--- blender-2.61.orig/intern/ffmpeg/ffmpeg_compat.h
++++ blender-2.61/intern/ffmpeg/ffmpeg_compat.h
+@@ -35,6 +35,7 @@
+ 
+ #include <libavcodec/avcodec.h>
+ #include <libavutil/rational.h>
++#include <libavutil/mathematics.h>
+ 
+ #if (LIBAVFORMAT_VERSION_MAJOR > 52) || ((LIBAVFORMAT_VERSION_MAJOR >= 52) && (LIBAVFORMAT_VERSION_MINOR >= 101))
+ #define FFMPEG_HAVE_PARSE_UTILS 1
+
+--- blender-2.61.orig/source/blender/blenkernel/intern/writeffmpeg.c
++++ blender-2.61/source/blender/blenkernel/intern/writeffmpeg.c
+@@ -36,6 +36,7 @@
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
+ #include <libavutil/rational.h>
++#include <libavutil/mathematics.h>
+ #include <libswscale/swscale.h>
+ #include <libavcodec/opt.h>
+ 

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list