From 8ef30ac1f309fcf87c4df92e71c890f48cc199bb Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Fri, 15 Oct 2010 12:49:48 +0000 Subject: 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 --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/udp.c') 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) -- cgit v1.2.3