summaryrefslogtreecommitdiff
path: root/package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h')
-rw-r--r--package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h b/package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h
new file mode 100644
index 000000000..1712372fb
--- /dev/null
+++ b/package/xbmc/patches/patch-xbmc_utils_BitstreamConverter_h
@@ -0,0 +1,20 @@
+--- xbmc-12.2.orig/xbmc/utils/BitstreamConverter.h 2013-05-03 07:57:41.000000000 +0200
++++ xbmc-12.2/xbmc/utils/BitstreamConverter.h 2013-07-31 13:28:52.000000000 +0200
+@@ -114,7 +114,7 @@ public:
+ static void skip_bits( bits_reader_t *br, int nbits );
+ static uint32_t get_bits( bits_reader_t *br, int nbits );
+
+- bool Open(enum CodecID codec, uint8_t *in_extradata, int in_extrasize, bool to_annexb);
++ bool Open(enum AVCodecID codec, uint8_t *in_extradata, int in_extrasize, bool to_annexb);
+ void Close(void);
+ bool NeedConvert(void) { return m_convert_bitstream; };
+ bool Convert(uint8_t *pData, int iSize);
+@@ -163,7 +163,7 @@ protected:
+ bool m_convert_bytestream;
+ DllAvUtil *m_dllAvUtil;
+ DllAvFormat *m_dllAvFormat;
+- CodecID m_codec;
++ AVCodecID m_codec;
+ };
+
+ #endif