[FFmpeg-devel] [PATCH] examples/decoding_encoding: remove unused variable "size"
Nicolas George
nicolas.george at normalesup.org
Fri Apr 13 08:43:44 CEST 2012
Le quintidi 25 germinal, an CCXX, Clément Bœsch a écrit :
> The -lm is not needed for the libraries, but for the tool.
That is clearly wrong. I believe your shared object is badly linked. It
should have -lm in its NEEDED fields.
> muxing and decoding_encoding both use sin(), so actually they do.
I forgot that, indeed. Then -lm is necessary. And -lm is specified by the
standard:
-l m
This option shall make available all interfaces referenced in
<math.h>, <complex.h>, and <fenv.h>.
And the example should include math.h too, IMHO.
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list