summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-19 21:21:32 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-19 21:21:32 +0000
commit838b27b42c1838857e6b2ad47b4a932717108c10 (patch)
tree6b9b9ad2845776ae5de8639e00efceba66cbc8b0 /libavformat/avio.h
parentb2125520e7a3772724c25de7771d3cc987698fd3 (diff)
add FF_API_REGISTER_PROTOCOL define to disable the deprecated
register_protocol() function Originally committed as revision 24840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 2b7a9c50a1..8c5f94acb8 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -256,7 +256,7 @@ typedef struct URLProtocol {
const AVClass *priv_data_class;
} URLProtocol;
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if FF_API_REGISTER_PROTOCOL
extern URLProtocol *first_protocol;
#endif
@@ -269,7 +269,7 @@ extern URLInterruptCB *url_interrupt_cb;
*/
URLProtocol *av_protocol_next(URLProtocol *p);
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if FF_API_REGISTER_PROTOCOL
/**
* @deprecated Use av_register_protocol() instead.
*/