diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-03-01 10:26:43 -0300 |
---|---|---|
committer | elupus <elupus@xbmc.org> | 2012-03-31 16:28:36 +0200 |
commit | 45a39f71ac00bbed4bb3fd7c9ed902f7d93900fc (patch) | |
tree | 92d52226a49770836ef3badf444840e2b7cf7b7c /lib/DllAvFormat.h | |
parent | 0bf68bf61aab44ccf6f54a2923ed567f9a56af4a (diff) |
Do not map url_fdopen as it is deprecated and gone in libavformat 54. It is unused in xbmc code.
Diffstat (limited to 'lib/DllAvFormat.h')
-rw-r--r-- | lib/DllAvFormat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/DllAvFormat.h b/lib/DllAvFormat.h index 405a58b149..3c7f9fa27f 100644 --- a/lib/DllAvFormat.h +++ b/lib/DllAvFormat.h @@ -83,7 +83,6 @@ public: virtual AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max)=0; virtual int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, const char *filename, void *logctx, unsigned int offset, unsigned int max_probe_size)=0; virtual void dump_format(AVFormatContext *ic, int index, const char *url, int is_output)=0; - virtual int url_fdopen(AVIOContext **s, URLContext *h)=0; virtual int url_fopen(AVIOContext **s, const char *filename, int flags)=0; virtual int url_fclose(AVIOContext *s)=0; virtual int url_open_dyn_buf(AVIOContext **s)=0; @@ -148,7 +147,6 @@ public: virtual AVInputFormat *av_probe_input_format2(AVProbeData *pd, int is_opened, int *score_max) {*score_max = 100; return ::av_probe_input_format(pd, is_opened); } // Use av_probe_input_format, this is not exported by ffmpeg's headers virtual int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, const char *filename, void *logctx, unsigned int offset, unsigned int max_probe_size) { return ::av_probe_input_buffer(pb, fmt, filename, logctx, offset, max_probe_size); } virtual void dump_format(AVFormatContext *ic, int index, const char *url, int is_output) { ::dump_format(ic, index, url, is_output); } - virtual int url_fdopen(AVIOContext **s, URLContext *h) { return ::url_fdopen(s, h); } virtual int url_fopen(AVIOContext **s, const char *filename, int flags) { return ::url_fopen(s, filename, flags); } virtual int url_fclose(AVIOContext *s) { return ::url_fclose(s); } virtual int url_open_dyn_buf(AVIOContext **s) { return ::url_open_dyn_buf(s); } @@ -219,7 +217,6 @@ class DllAvFormat : public DllDynamic, DllAvFormatInterface int (*p7)(void *opaque, uint8_t *buf, int buf_size), offset_t (*p8)(void *opaque, offset_t offset, int whence))) DEFINE_METHOD4(void, dump_format, (AVFormatContext *p1, int p2, const char *p3, int p4)) - DEFINE_METHOD2(int, url_fdopen, (AVIOContext **p1, URLContext *p2)) DEFINE_METHOD3(int, url_fopen, (AVIOContext **p1, const char *p2, int p3)) DEFINE_METHOD1(int, url_fclose, (AVIOContext *p1)) DEFINE_METHOD1(int, url_open_dyn_buf, (AVIOContext **p1)) @@ -256,7 +253,6 @@ class DllAvFormat : public DllDynamic, DllAvFormatInterface RESOLVE_METHOD(av_probe_input_format2) RESOLVE_METHOD(av_probe_input_buffer) RESOLVE_METHOD(dump_format) - RESOLVE_METHOD(url_fdopen) RESOLVE_METHOD(url_fopen) RESOLVE_METHOD(url_fclose) RESOLVE_METHOD(url_open_dyn_buf) |