summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv-2.3.1a-libav-0.7.patch
diff options
context:
space:
mode:
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 0000000000..54433e6c98
--- /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>