summarylogtreecommitdiffstats
path: root/libav.patch
diff options
context:
space:
mode:
authorAurifier2016-10-04 14:47:15 -0400
committerAurifier2016-10-04 14:47:15 -0400
commit8db9e9eea387c168c9d44fed1cc2e7bab0fcf3a5 (patch)
treee64aeec8c13ae0c0e38ae271224f1e4e0ea9524a /libav.patch
parent2a27cb3358d782b072c27116814edee16b26600e (diff)
downloadaur-electricsheep-svn.tar.gz
Apply some monkey-patches to get this to build. Need to either depend on old libav or patch code.
Diffstat (limited to 'libav.patch')
-rw-r--r--libav.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libav.patch b/libav.patch
new file mode 100644
index 000000000000..7751a8daeaa4
--- /dev/null
+++ b/libav.patch
@@ -0,0 +1,12 @@
+--- client_generic/ContentDecoder/ContentDecoder.h 2016-10-02 15:51:59.070513556 -0400
++++ ../../ContentDecoder.h 2016-10-02 15:53:23.072223197 -0400
+@@ -35,6 +35,9 @@
+ #include "swscale.h"
+ #endif
+ }
++#define PixelFormat AVPixelFormat
++#define PIX_FMT_RGB24 AV_PIX_FMT_RGB24
++#define PIX_FMT_BGR32 AV_PIX_FMT_BGR32
+
+ #include "base.h"
+ #include <string>