[x264-devel] Local Static Functions - Undefined warnings

Loren Merritt lorenm at u.washington.edu
Fri Dec 21 16:18:26 CET 2012


On Thu, 20 Dec 2012, Philip Muzzall wrote:

> 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]

Don't do that then.
x264_encoder_parameters is part of libx264's API. Therefore, it can't be
static.

--Loren Merritt


More information about the x264-devel mailing list