summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-19 16:49:08 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-19 16:49:08 +0000
commit404eba44b162cb583a47538376e4ca3e502b912f (patch)
tree588f1938b3e5a6b33b08a5efe344585906377653 /libavformat/avio.h
parentcd223e0b4e1371d12d6cbb36bb66afdc40fd6281 (diff)
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
Originally committed as revision 24835 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 3df9fadbf3..2b7a9c50a1 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -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;