Module: libav
Branch: master
Commit: 8d74bf17c6d6280195854f4dadb19ef37d054566

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Mon Oct 17 09:14:04 2011 +0200

lavf: hide private symbols.

Overhead as reported by rbelf-size goes from 40147 to 20877.

---

 libavformat/libavformat.v |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/libavformat/libavformat.v b/libavformat/libavformat.v
index 0ec1c3c..2a49539 100644
--- a/libavformat/libavformat.v
+++ b/libavformat/libavformat.v
@@ -1,7 +1,23 @@
 LIBAVFORMAT_$MAJOR {
-        global: *;
-        local:
-                ff_*_demuxer;
-                ff_*_muxer;
-                ff_*_protocol;
+        global: av*;
+                #FIXME those are for avserver
+                ff_inet_aton;
+                ff_socket_nonblock;
+                ffm_set_write_index;
+                ffm_read_write_index;
+                ffm_write_write_index;
+                ff_rtsp_parse_line;
+                ff_rtp_get_local_rtp_port;
+                ff_rtp_get_local_rtcp_port;
+                ffio_open_dyn_packet_buf;
+                url_open;
+                url_close;
+                url_write;
+                url_get_max_packet_size;
+                #those are deprecated, remove on next bump
+                find_info_tag;
+                parse_date;
+                dump_format;
+                url_*;
+        local: *;
 };

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to