summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch')
-rw-r--r--multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch b/multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch
new file mode 100644
index 0000000000..35d4d6db4f
--- /dev/null
+++ b/multimedia/xbmc/patches/xbmc-pvr-addons-ffmpeg-2.0.patch
@@ -0,0 +1,14 @@
+diff -Naur xbmc-pvr-addons-12.0-Frodo.orig/addons/pvr.hts/src/client.h xbmc-pvr-addons-12.0-Frodo/addons/pvr.hts/src/client.h
+--- xbmc-pvr-addons-12.0-Frodo.orig/addons/pvr.hts/src/client.h 2013-01-19 01:40:32.000000000 +0000
++++ xbmc-pvr-addons-12.0-Frodo/addons/pvr.hts/src/client.h 2013-11-12 01:35:15.818543473 +0000
+@@ -26,6 +26,10 @@
+ #include "libXBMC_gui.h"
+ #include "avcodec.h"
+
++#if !defined (CodecID)
++#define CodecID AVCodecID
++#endif
++
+ #define DEFAULT_HOST "127.0.0.1"
+ #define DEFAULT_HTTP_PORT 9981
+ #define DEFAULT_HTSP_PORT 9982