[Ffmpeg-devel] [PATCH] Move BeOS-specific code into os_support.c

Michael A. Kohn mike
Tue Nov 14 14:12:58 CET 2006



On Tue, 14 Nov 2006, Diego Biurrun wrote:

> Here is a patch to slightly clean up BeOS handling in libavformat.
> Should be OK (TM), even though untested (no BeOS here).  Will commit
> tomorrow unless there are objections.
>
> Diego
>

I set up a BeOS box over the weekend so I could test my patches that I've 
been trying to get accepted here. I can test this for you tonight when I 
get home.

Two things I've found tho with BeOS: the stock compiler is gcc 2.95.3 
which doesn't seem to want to compile ffmpeg.  I upgraded to gcc 3.4.x (I 
believe it's 3.4.4, I can check when I get home) but when compiling I get:

cabac.h:522: error: can't find a register in class `GENERAL_REGS` while 
reloading `asm'

I get this same error with MingW when I compile on Windows.  When I use 
the MingW cross compiler on Linux, I don't get this error at all.  Both 
versions of gcc (on both MingW on Windows and cross-compiler on Linux) are gcc 
3.4.4.

Also in the configure script, the first set of lines under "make sure we 
are running under a compatible shell" have to be commented out to work on 
BeOS and MingW compiled under MSys on Windows.

/mike





More information about the ffmpeg-devel mailing list