diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-03 19:45:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-03 19:45:26 +0200 |
commit | 56f9a25fb7a3e325a4bcd8c6b28fa6502f68842b (patch) | |
tree | 4987fd4187d12429b151733c9af5ecbc50b56de1 /package/xbmc/patches/patch-lib_DllAvCodec_h | |
parent | 45790ac926148914b924262297872abed6953f9b (diff) |
update to gotham rc1, fix Darwin cross problems
Diffstat (limited to 'package/xbmc/patches/patch-lib_DllAvCodec_h')
-rw-r--r-- | package/xbmc/patches/patch-lib_DllAvCodec_h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/package/xbmc/patches/patch-lib_DllAvCodec_h b/package/xbmc/patches/patch-lib_DllAvCodec_h deleted file mode 100644 index 89b259d9c..000000000 --- a/package/xbmc/patches/patch-lib_DllAvCodec_h +++ /dev/null @@ -1,35 +0,0 @@ ---- xbmc-12.2.orig/lib/DllAvCodec.h 2013-05-03 07:57:40.000000000 +0200 -+++ xbmc-12.2/lib/DllAvCodec.h 2013-07-31 12:23:26.000000000 +0200 -@@ -72,8 +72,8 @@ public: - virtual void avcodec_register_all(void)=0; - virtual void avcodec_flush_buffers(AVCodecContext *avctx)=0; - virtual int avcodec_open2_dont_call(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options)=0; -- virtual AVCodec *avcodec_find_decoder(enum CodecID id)=0; -- virtual AVCodec *avcodec_find_encoder(enum CodecID id)=0; -+ virtual AVCodec *avcodec_find_decoder(enum AVCodecID id)=0; -+ virtual AVCodec *avcodec_find_encoder(enum AVCodecID id)=0; - virtual int avcodec_close_dont_call(AVCodecContext *avctx)=0; - virtual AVFrame *avcodec_alloc_frame(void)=0; - virtual int avpicture_fill(AVPicture *picture, uint8_t *ptr, PixelFormat pix_fmt, int width, int height)=0; -@@ -129,8 +129,8 @@ public: - } - virtual int avcodec_open2_dont_call(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options) { *(volatile int *)0x0 = 0; return 0; } - virtual int avcodec_close_dont_call(AVCodecContext *avctx) { *(volatile int *)0x0 = 0; return 0; } -- virtual AVCodec *avcodec_find_decoder(enum CodecID id) { return ::avcodec_find_decoder(id); } -- virtual AVCodec *avcodec_find_encoder(enum CodecID id) { return ::avcodec_find_encoder(id); } -+ virtual AVCodec *avcodec_find_decoder(enum AVCodecID id) { return ::avcodec_find_decoder(id); } -+ virtual AVCodec *avcodec_find_encoder(enum AVCodecID id) { return ::avcodec_find_encoder(id); } - virtual int avcodec_close(AVCodecContext *avctx) - { - CSingleLock lock(DllAvCodec::m_critSection); -@@ -203,8 +203,8 @@ class DllAvCodec : public DllDynamic, Dl - LOAD_SYMBOLS(); - - DEFINE_METHOD0(void, avcodec_register_all_dont_call) -- DEFINE_METHOD1(AVCodec*, avcodec_find_decoder, (enum CodecID p1)) -- DEFINE_METHOD1(AVCodec*, avcodec_find_encoder, (enum CodecID p1)) -+ DEFINE_METHOD1(AVCodec*, avcodec_find_decoder, (enum AVCodecID p1)) -+ DEFINE_METHOD1(AVCodec*, avcodec_find_encoder, (enum AVCodecID p1)) - DEFINE_METHOD1(int, avcodec_close_dont_call, (AVCodecContext *p1)) - DEFINE_METHOD0(AVFrame*, avcodec_alloc_frame) - DEFINE_METHOD5(int, avpicture_fill, (AVPicture *p1, uint8_t *p2, PixelFormat p3, int p4, int p5)) |