[Mplayer-cvslog] CVS: main/libvo jpeg_enc.c,1.9,1.10

Felix Buenemann atmosfear at users.sourceforge.net
Wed Oct 2 00:27:24 CEST 2002


On Tuesday 01 October 2002 10:47, rsnel at cube.dyndns.org wrote:
> On Tue, 1 Oct 2002, Felix Buenemann wrote:
> > On Monday 30 September 2002 23:46, Rik Snel CVS wrote:
> > > Modified Files:
> > >         jpeg_enc.c
> > > Log Message:
> > > libavcodec sync; zigzag_direct and block_permute_op replaced by
> > > non-globals in MpegEncContext
> >
> > would be nice if you nake your code a bit backwards conmpatible using
> > #ifdef LIBAVCODEC_BUILD > xxxx so it doesn't always require uptosecond 
> > cvs.
>
> If I update mplayer CVS libavcodec gets updated automatically. Do people
> that use uptosecond MPlayer CVS and not uptosecond libavcodec really
> exist? I am willing to put in a warning, as in 'please upgrade your
> libavcodec, otherwise this driver will not compile'.
I think there are cases where the dirs drift or you may want to compare perf 
of an older libavcodec with a newer as an example. and if code worked before 
it's simple to add:
#if BUILDMACRO >= new_build
new code;
#else
old code;
#endif

look eg. ar ve_ffmpeg.c it's used there.

> Greetings,
>
> Rik.

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list