[FFmpeg-devel] [PATCH 00/10] Mark symbols only used locally as static

Diego 'Flameeyes' Pettenò flameeyes
Fri Oct 3 15:05:03 CEST 2008


Since I've had some of these patches locally for a while, and I
promised myself to split and send them for review, here come a little
series of static-markings.

The symbols that were candidate for static marking were found by the
missingstatic script from my ruby-elf suite (the same with cowstats).

I suppose some of these might be discarded since they break ABI (after
all this _is_ removing symbols from the libraries).

---

Diego 'Flameeyes' Petten? (10):
      Mark the ff_find_best_tables symbol static to msmpeg4.
      Mark ff_pw_53 and ff_pw_18 static to vc1dsp_mmx.c; mark them as used.
      Add a check for __attribute__((used)) in GCC.
      Mark some internal functions in mpegaudiodec.c as static.
      Mark ogg_interleave_per_granule() static in oggenc.c
      Mark ff_div6 and ff_rem6 static in h264.c.
      Mark list heads static.
      Mark print_all_lib_versions() static in cmdutils.c
      Mark http_log() static in ffserver.c
      Mark ffplay internal variables static.


 cmdutils.c                    |    2 +-
 ffplay.c                      |    4 ++--
 ffserver.c                    |    2 +-
 libavcodec/bitstream_filter.c |    2 +-
 libavcodec/h264.c             |    4 ++--
 libavcodec/h264dspenc.c       |    3 ---
 libavcodec/i386/vc1dsp_mmx.c  |    4 ++--
 libavcodec/mpegaudiodec.c     |    8 ++++----
 libavcodec/msmpeg4.c          |    2 +-
 libavcodec/parser.c           |    2 +-
 libavcodec/utils.c            |    2 +-
 libavformat/oggenc.c          |    2 +-
 libavutil/common.h            |    8 ++++++++
 13 files changed, 25 insertions(+), 20 deletions(-)






More information about the ffmpeg-devel mailing list