[FFmpeg-devel] [PATCH 2/2] Hide demuxers', muxers' and protocols' objects via the ld version script.

Diego Elio Pettenò flameeyes
Wed Jan 26 00:03:29 CET 2011


This also reduces the symbols exported by libavformat from 699 to 451.
---
 libavformat/libavformat.v |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavformat/libavformat.v b/libavformat/libavformat.v
index da2311e..0ec1c3c 100644
--- a/libavformat/libavformat.v
+++ b/libavformat/libavformat.v
@@ -1,3 +1,7 @@
 LIBAVFORMAT_$MAJOR {
         global: *;
+        local:
+                ff_*_demuxer;
+                ff_*_muxer;
+                ff_*_protocol;
 };
-- 
1.7.4.rc2




More information about the ffmpeg-devel mailing list