aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-07 20:15:43 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 07:08:22 +0200
commitd6bbe76124c5879099e03754646c4bd70ce5112f (patch)
tree70e59996fab9123508d5cf2e0c1c283ad2ebb2c9
parentacaceca2f191b30f64421f6568fd30ad561daec9 (diff)
downloadffmpeg-d6bbe76124c5879099e03754646c4bd70ce5112f.tar.gz
avio: move two ff_udp_* functions from avio_internal to url.h
-rw-r--r--libavformat/avio_internal.h4
-rw-r--r--libavformat/url.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index 5ef4cca7dd..2879ee1ed1 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -92,10 +92,6 @@ int ffio_read_pause(AVIOContext *h, int pause);
int64_t ffio_read_seek (AVIOContext *h, int stream_index,
int64_t timestamp, int flags);
-/* udp.c */
-int ff_udp_set_remote_url(URLContext *h, const char *uri);
-int ff_udp_get_local_port(URLContext *h);
-
void ffio_init_checksum(AVIOContext *s,
unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
unsigned long checksum);
diff --git a/libavformat/url.h b/libavformat/url.h
index 941b8af1d1..b8ea6ad2eb 100644
--- a/libavformat/url.h
+++ b/libavformat/url.h
@@ -140,4 +140,8 @@ int ffurl_get_file_handle(URLContext *h);
*/
int ffurl_register_protocol(URLProtocol *protocol, int size);
+/* udp.c */
+int ff_udp_set_remote_url(URLContext *h, const char *uri);
+int ff_udp_get_local_port(URLContext *h);
+
#endif //AVFORMAT_URL_H