[FFmpeg-devel] [PATCH 1/2] Define ff_inverse also in libavutil.

Diego 'Flameeyes' Pettenò flameeyes
Thu Oct 2 19:50:55 CEST 2008

Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:

> Does the compiler create a ff_sqrt function in those object files even
> though it's declared "static inline" and not used in those files?

Yes that seems to be the problem, I remembered that it did the same for
some avfilter inline functions and checked for that.

Unfortunately I'm not enough of a "standards lawyer" to tell if this is
the correct behaviour in C99 or not (I'd guess not, at a minimum it's a
missed optimisation). If somebody can tell for sure this is not the
correct behaviour, it would probably be a good idea to report it to Sun
upstream, and see what they'll do.

Diego "Flameeyes" Petten?
-------------- 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/20081002/983e9628/attachment.pgp>

More information about the ffmpeg-devel mailing list