[FFmpeg-devel] Unused symbols in vc1data
Diego 'Flameeyes' Pettenò
flameeyes
Wed Apr 30 16:26:11 CEST 2008
Hi there,
(Beside the fact I still have a queue of patches I should be
polishing..)
I wrote a new script today to deal with ELF object files, it finds
functions that are not used in a project beside for the unit they are
defined. While this triggers false positive for exported symbols (unless
the project uses hidden visibility for non-exported symbols), it also
shows unused symbols. It needs a bit of fiddling to become safe, but the
results are interesting.
For FFmpeg I've seen there are a few symbols defind in vc1data that are
never used, not in FFmpeg's source tree at least. They are prefixed with
ff_ so I suppose they would be exported.
Do you want a patch to get rid of them? It would probably reduce the
size of libavcodec..
ff_vc1_adv_interlaced_4x4_zz (./libavcodec/vc1data.o)
ff_vc1_adv_interlaced_4x8_zz (./libavcodec/vc1data.o)
ff_vc1_adv_interlaced_8x4_zz (./libavcodec/vc1data.o)
ff_vc1_adv_interlaced_8x8_zz (./libavcodec/vc1data.o)
ff_vc1_norm6_spec (./libavcodec/vc1data.o)
I'm looking at a few more now, will see to get a full report once I'm
done.
--
Diego "Flameeyes" Petten?
http://blog.flameeyes.eu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080430/df69bec7/attachment.pgp>
More information about the ffmpeg-devel
mailing list