[FFmpeg-devel] libossupport status

Michael Niedermayer michaelni
Sat Dec 29 00:59:07 CET 2007


On Sat, Dec 29, 2007 at 12:33:06AM +0100, Fran?ois Revol wrote:
> > On Fri, Dec 28, 2007 at 02:26:34PM -0500, Ronald S. Bultje wrote:
> > > 
> > > On Dec 28, 2007 2:05 PM, Fran?ois Revol <revol at free.fr> wrote:
> > > 
> > > > Neither am I...
> > > > What about:
> > > >
> > > > #ifdef HAVE_USLEEP
> > > > #define ffusleep(t) usleep(t)
> > > > #else
> > > > static inline int ffusleep(...t)
> > > > {
> > > >        ..
> > > >        return select(...);
> > > > }
> > > > #endif
> > > 
> > > I thought the whole point of ossblabrokeoss was to prevent this 
> > > kind of
> > > crap?
> > 
> > Francois has strange ideas about portability...
> > 
> 
> ffmpeg is actually the only project I know with members insisting on 
> porting OSes to the application...

OSs as well as applications should support standards (POSIX / ISO C)
its a matter of O(n) vs. O(n^2)

porting 100 OSs and 100 applications to POSIX is 100+100=200 things to port
porting 100 apps to 100 OSs is 100*100=10000 things to port

also very few of the 100 apps will be ported to obscure OSs
its very simple: fix your OS to support POSIX or watch with your own
eyes how evolution works

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

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071229/967022e5/attachment.pgp>



More information about the ffmpeg-devel mailing list