[MPlayer-dev-eng] [PATCH] Fix compilation on NetBSD

Diego Biurrun diego at biurrun.de
Wed Sep 28 01:07:04 CEST 2005


On Tue, Sep 27, 2005 at 08:43:17AM +0300, Jan Knutar wrote:
> On Tuesday 27 September 2005 06:30, Jan Knutar wrote:
> > On Tuesday 27 September 2005 05:28, Jan Knutar wrote:
> > 
> > > Stole 'fix' from af_format.c, slightly modified. Tested for compilation.
> > 
> > Though... Considering vf_qp.c is essentially #ifdef USE_LIBAVCODEC,
> > including libavutil/common.h for lrintf might be better...
> 
> Baka! That lrintf only gets defined if vf_qp.c gets compiled with
> -DHAVE_AV_CONFIG_H (which wont get vf_qp.c compiled, anyway)
> 
> Yes I love talking to myself, maybe first version is correct one afterall :-(
> 
> Someone smarter should probably pick one soon.

Look at libvo/jpeg_enc.c, it has the same problem and a more or less
clean solution.

Diego




More information about the MPlayer-dev-eng mailing list