[Ffmpeg-devel] Compile swscale examples

Michael Niedermayer michaelni
Sun Aug 20 19:44:23 CEST 2006


Hi

On Sun, Aug 20, 2006 at 04:22:26PM +0200, Luca Abeni wrote:
[...]
> 
> > > +void mp_msg( int x, int y, const char *format, ... ){
> > > +    va_list va;
> > > +    va_start(va, format);
> > > +    vfprintf(stderr, format, va);
> > > +    va_end(va);
> > > +}
> > 
> > iam against this, whichever code uses mp_msg in swscale should be changed
> Well, it's not in swscale :)
> cs_test needs ../cpudetect.c, which uses mp_msg.
> I did the simplest change that permitted to compile the test without
> changing its semantic. If needed, I can try to modify it to avoid using
> files outside libswscale

either that (pass cpu capailities from command line maybe?) or put a
#warn FIXME this is a quick hack to make it compile 
or similar there so we wont forget that this isnt really how its supposed
to be

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list