aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-15 12:54:12 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-15 12:54:12 +0000
commit88e44314ea0bbd7b8cec7fe8a3fcab68751ff3ba (patch)
treeb25cf235e21f3f7cbcf89886dfb84fcca9e7e806 /libavformat/avformat.h
parent8ef30ac1f309fcf87c4df92e71c890f48cc199bb (diff)
downloadffmpeg-88e44314ea0bbd7b8cec7fe8a3fcab68751ff3ba.tar.gz
add FF_API_URL_SPLIT define to disable the deprecated ff_url_split() function
Originally committed as revision 25482 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 d121b59e37..655488ca95 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -60,6 +60,9 @@
#ifndef FF_API_UDP_GET_FILE
#define FF_API_UDP_GET_FILE (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
+#ifndef FF_API_URL_SPLIT
+#define FF_API_URL_SPLIT (LIBAVFORMAT_VERSION_MAJOR < 53)
+#endif
/**
* I return the LIBAVFORMAT_VERSION_INT constant. You got