[FFmpeg-cvslog] lavf: hide private symbols.

Anton Khirnov git at videolan.org
Fri Oct 21 02:37:11 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Oct 17 09:14:04 2011 +0200| [8d74bf17c6d6280195854f4dadb19ef37d054566] | committer: Anton Khirnov

lavf: hide private symbols.

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d74bf17c6d6280195854f4dadb19ef37d054566
---

 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: *;
 };



More information about the ffmpeg-cvslog mailing list