[Ffmpeg-devel] GCC 4 Compiler warnings

Måns Rullgård mru
Sat Jul 30 14:10:50 CEST 2005


Kent Williams <norman-k-williams at uiowa.edu> writes:

> Hi! I'm new to messing around with ffmpeg, but I have built it and
> have 2 questions
>
> 1. I've checked out the CVS version, and grabbed the x264 library. I
> built the x264 library, and installed it in a local 'target tree' --
> i.e. x264 is configured with 'configure --prefix=/scratch/opt/video.'
>
> In most autoconf projects, if you define LDFLAGS before the configure
> you can add -L commands, in this case I'd need
> -L/scratch/opt/video/lib added to the ffpmeg link line before -lx264,
> but the configure/Makefile for ffmpeg ignore LDFLAGS.
>
> So the question is WHERE is x264 supposed to live surch that ffmpeg
> can link to it?

It can be installed anywhere the linker will look for it.  To add more
flags, use configure --extra-ldflags=...

> 2. There are several hundred warnings reported by gcc4.  Most of them
> can be silenced with trivial changes that won't affect the code
> generated.  Does anyone care about these?  Should I try and fix them
> and submit a patch?

Warnings should be silenced, IMHO.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list