[x264-devel] Local Static Functions - Undefined warnings

Philip Muzzall philipmuzzall at gmail.com
Fri Dec 21 05:38:03 CET 2012


After having gone through the source code in the encoder subfolder and
marking the appropriate functions as static, the compiler generated these
warnings for a number of functions:

x264.h:854:13: warning: 'x264_encoder_parameters' declared 'static' but
> never defined [-Wunused-function]
>

The code did manage to successfully compile, however ffmpeg can't seem to
find libx264 even when I manually point it to the directory where libx264
is located. Is it possible that these warnings could be effecting ffmpeg's
ability to find libx264? How would I fix these warnings? I already marked
the function prototypes and definitions as static, so I'm not sure why the
compiler would think they are undefined.

My modifications are based off of the r2216 patched sources by Jeeb.
(Link<https://github.com/jeeb/x264_L-SMASH/tags>
)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121220/10daf019/attachment.html>


More information about the x264-devel mailing list