diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2008-03-10 19:03:39 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-03-10 19:03:39 +0000 |
commit | 5acef35f57fb1ec896de0ed572eafa1bf064506a (patch) | |
tree | 66c46a209ec8bdbaab073f12c094c79acb26df5c /libavformat/avio.h | |
parent | 7ce6892373c812e9fff7af2f8107e6ee3d0567b0 (diff) | |
download | ffmpeg-5acef35f57fb1ec896de0ed572eafa1bf064506a.tar.gz |
Add AVClass to URLContext at next major version bump
Patch by Björn Axelsson (bjorn axelsson intinor se)
Originally committed as revision 12411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 9443cb017b..e8a8bc6062 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -37,6 +37,9 @@ typedef int64_t offset_t; * 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 */ |