summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
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/udp.c
parent198ac67fe843f55535b75bd3f17b3a1b7ee847b6 (diff)
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/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 2200c549ca..b998086407 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -276,7 +276,7 @@ int udp_get_local_port(URLContext *h)
* streams at the same time.
* @param h media file context
*/
-#if (LIBAVFORMAT_VERSION_MAJOR >= 53)
+#if !FF_API_UDP_GET_FILE
static
#endif
int udp_get_file_handle(URLContext *h)