summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-03 12:53:28 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-19 18:31:12 +0200
commit7f804085f1be53fac1a28a962c1e34873981b131 (patch)
treef77dd9d0a16731f1dbfff00bbe82cbd3767bc121 /libavformat/avio.c
parent5763e63913940f8d2d2eb8750931e5f12dd2a481 (diff)
lavf: remove FF_API_URL_CLASS cruft.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index c1c2027d5d..4f8acb01ff 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -31,7 +31,6 @@
#endif
#include "url.h"
-#if FF_API_URL_CLASS
/** @name Logging context. */
/*@{*/
static const char *urlcontext_to_name(void *ptr)
@@ -44,7 +43,6 @@ static const AVOption options[] = {{NULL}};
static const AVClass urlcontext_class =
{ "URLContext", urlcontext_to_name, options, LIBAVUTIL_VERSION_INT };
/*@}*/
-#endif
static int default_interrupt_cb(void);
@@ -99,9 +97,7 @@ static int url_alloc_for_protocol (URLContext **puc, struct URLProtocol *up,
err = AVERROR(ENOMEM);
goto fail;
}
-#if FF_API_URL_CLASS
uc->av_class = &urlcontext_class;
-#endif
uc->filename = (char *) &uc[1];
strcpy(uc->filename, filename);
uc->prot = up;