Mercurial > libavformat.hg
diff avio.h @ 3136:e38d5357f0d0 libavformat
Add AVClass to URLContext at next major version bump
Patch by Bj«Órn Axelsson (bjorn axelsson intinor se)
author | superdump |
---|---|
date | Mon, 10 Mar 2008 19:03:39 +0000 |
parents | 7ad207078047 |
children | 103f156dd8cc |
line wrap: on
line diff
--- a/avio.h Mon Mar 10 18:42:09 2008 +0000 +++ b/avio.h Mon Mar 10 19:03:39 2008 +0000 @@ -37,6 +37,9 @@ * sizeof(URLContext) must not be used outside libav*. */ struct URLContext { +#if LIBAVFORMAT_VERSION_MAJOR >= 53 + const AVClass *av_class; ///< information for av_log(). Set by url_open(). +#endif struct URLProtocol *prot; int flags; int is_streamed; /**< true if streamed (no seek possible), default = false */