Mercurial > libavformat.hg
diff avio.h @ 6392:daca8bebdd88 libavformat
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
author | aurel |
---|---|
date | Thu, 19 Aug 2010 16:49:08 +0000 |
parents | 6eead40d46a7 |
children | 896acb967d32 |
line wrap: on
line diff
--- a/avio.h Thu Aug 19 14:54:37 2010 +0000 +++ b/avio.h Thu Aug 19 16:49:08 2010 +0000 @@ -43,7 +43,7 @@ * sizeof(URLContext) must not be used outside libav*. */ typedef struct URLContext { -#if LIBAVFORMAT_VERSION_MAJOR >= 53 +#if FF_API_URL_CLASS const AVClass *av_class; ///< information for av_log(). Set by url_open(). #endif struct URLProtocol *prot;