aboutsummaryrefslogtreecommitdiff
path: root/lib/DllAvCodec.h
diff options
context:
space:
mode:
authorelupus <elupus@xbmc.org>2011-11-01 20:36:59 +0100
committerelupus <elupus@xbmc.org>2012-03-31 16:28:33 +0200
commit4ee00c7c664e2fb1a3ea7f9969b1f89c4ce1f6dc (patch)
tree72bc6941e3d80dd1f3de56d2c6ed7a9c020d4024 /lib/DllAvCodec.h
parent67c7a8e072df3eb0776b145f623b6df5e49b4b9e (diff)
Don't use depreciated avcodec_thread_init
Diffstat (limited to 'lib/DllAvCodec.h')
-rw-r--r--lib/DllAvCodec.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/DllAvCodec.h b/lib/DllAvCodec.h
index 08022362ea..05edcb79d3 100644
--- a/lib/DllAvCodec.h
+++ b/lib/DllAvCodec.h
@@ -137,7 +137,6 @@ public:
virtual enum PixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum PixelFormat *fmt)=0;
virtual int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic)=0;
virtual void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic)=0;
- virtual int avcodec_thread_init(AVCodecContext *s, int thread_count)=0;
virtual AVCodec *av_codec_next(AVCodec *c)=0;
virtual AVAudioConvert *av_audio_convert_alloc(enum AVSampleFormat out_fmt, int out_channels,
enum AVSampleFormat in_fmt , int in_channels,
@@ -225,7 +224,6 @@ public:
virtual int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic) { return ::avcodec_default_get_buffer(s, pic); }
virtual void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) { ::avcodec_default_release_buffer(s, pic); }
virtual enum PixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum PixelFormat *fmt) { return ::avcodec_default_get_format(s, fmt); }
- virtual int avcodec_thread_init(AVCodecContext *s, int thread_count) { return ::avcodec_thread_init(s, thread_count); }
virtual AVCodec *av_codec_next(AVCodec *c) { return ::av_codec_next(c); }
virtual AVAudioConvert *av_audio_convert_alloc(enum AVSampleFormat out_fmt, int out_channels,
enum AVSampleFormat in_fmt , int in_channels,
@@ -290,7 +288,6 @@ class DllAvCodec : public DllDynamic, DllAvCodecInterface
DEFINE_METHOD2(void, avcodec_default_release_buffer, (AVCodecContext *p1, AVFrame *p2))
DEFINE_METHOD2(enum PixelFormat, avcodec_default_get_format, (struct AVCodecContext *p1, const enum PixelFormat *p2))
- DEFINE_METHOD2(int, avcodec_thread_init, (AVCodecContext *p1, int p2))
DEFINE_METHOD1(AVCodec*, av_codec_next, (AVCodec *p1))
DEFINE_METHOD6(AVAudioConvert*, av_audio_convert_alloc, (enum AVSampleFormat p1, int p2,
enum AVSampleFormat p3, int p4,
@@ -328,7 +325,6 @@ class DllAvCodec : public DllDynamic, DllAvCodecInterface
RESOLVE_METHOD(avcodec_default_get_buffer)
RESOLVE_METHOD(avcodec_default_release_buffer)
RESOLVE_METHOD(avcodec_default_get_format)
- RESOLVE_METHOD(avcodec_thread_init)
RESOLVE_METHOD(av_codec_next)
RESOLVE_METHOD(av_audio_convert_alloc)
RESOLVE_METHOD(av_audio_convert_free)