aboutsummaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-2.3.1a-libav-0.7.patch
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2011-12-28 23:10:09 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-28 23:10:09 -0600
commitfbd96a400c607c185805f3db12153bb071db6d9c (patch)
tree9479561a702548dc1ebc30e203afb3d6a3a11660 /libraries/opencv/opencv-2.3.1a-libav-0.7.patch
parentb8d05bdb81804df04039c2c53c2a464f77d4b4ce (diff)
libraries/opencv: Included patch for newer ffmpeg (0.8.x)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/opencv-2.3.1a-libav-0.7.patch')
-rw-r--r--libraries/opencv/opencv-2.3.1a-libav-0.7.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/opencv/opencv-2.3.1a-libav-0.7.patch b/libraries/opencv/opencv-2.3.1a-libav-0.7.patch
new file mode 100644
index 0000000000000..54433e6c986d6
--- /dev/null
+++ b/libraries/opencv/opencv-2.3.1a-libav-0.7.patch
@@ -0,0 +1,11 @@
+diff -up OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp.00 OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp
+--- OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp.00 2011-12-28 14:50:07.038000125 -0600
++++ OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp 2011-12-28 14:51:11.687000116 -0600
+@@ -104,6 +104,7 @@ extern "C" {
+ #endif
+ #if defined(HAVE_LIBAVCODEC_AVCODEC_H)
+ #include <libavcodec/avcodec.h>
++ #include <libavutil/mathematics.h>
+ #endif
+ #if defined(HAVE_LIBSWSCALE_SWSCALE_H)
+ #include <libswscale/swscale.h>