aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-10-15 12:49:48 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-10-15 12:49:48 +0000
commit8ef30ac1f309fcf87c4df92e71c890f48cc199bb (patch)
tree0e4f0050c6fd22336fe80ef55378755e23ae4741 /libavformat/avformat.h
parent198ac67fe843f55535b75bd3f17b3a1b7ee847b6 (diff)
downloadffmpeg-8ef30ac1f309fcf87c4df92e71c890f48cc199bb.tar.gz
add FF_API_UDP_GET_FILE define to disable the deprecated udp_get_file_handle()
public function Originally committed as revision 25481 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 89a4102fd1..d121b59e37 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -57,6 +57,9 @@
#ifndef FF_API_GUESS_FORMAT
#define FF_API_GUESS_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
+#ifndef FF_API_UDP_GET_FILE
+#define FF_API_UDP_GET_FILE (LIBAVFORMAT_VERSION_MAJOR < 53)
+#endif
/**
* I return the LIBAVFORMAT_VERSION_INT constant. You got