[Ffmpeg-devel] compiling on Solaris 10
Bjoern Rost
b.rost
Thu Dec 7 16:36:00 CET 2006
On Thu, 2006-12-07 at 09:16 -0600, Ryan Martell wrote:
> So your environment must already have a BE_16 that is defined to take
> a value, instead of a pointer.
you're right, it does
/usr/include/sys/byteorder.h:#define BE_16(x) BMASK_16(x)
/usr/include/sys/byteorder.h:#define BE_16(x) BSWAP_16(x)
when i do gcc -E it yields:
au_headers_length = ((((buf) & 0xff) << 8) | (((buf) >> 8) & 0xff));
Bjoern
More information about the ffmpeg-devel
mailing list