summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-19 21:28:43 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-19 21:28:43 +0000
commit364cacc7c7767f5ce147b4af5116fd5c427b0d5a (patch)
tree644c1b029f822322ae8048925c2251e0b759be12 /libavformat/avformat.h
parent838b27b42c1838857e6b2ad47b4a932717108c10 (diff)
add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()
public function Originally committed as revision 24841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index d61e293669..b95aaa4685 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -48,6 +48,9 @@
#ifndef FF_API_URL_CLASS
#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
#endif
+#ifndef FF_API_URL_RESETBUF
+#define FF_API_URL_RESETBUF (LIBAVFORMAT_VERSION_MAJOR < 53)
+#endif
#ifndef FF_API_REGISTER_PROTOCOL
#define FF_API_REGISTER_PROTOCOL (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif