[mythtv] [PATCH] Mac OS X patch 29
Nigel Pearson
nigel at ind.tansu.com.au
Tue Sep 7 23:22:41 EDT 2004
I proposed:
> P.S. I would _like_ to have the backend record its endianness
> in one of the structures. Something like:
On 08/09/2004, at 11:30 AM, Gregorio Gervasio, Jr. wrote:
> Isn't it better to fix things so that big-endian backends
> create files that are identical to those created by little-endian
> ones? The format of a nuv file shouldn't depend on the machine that
> created it.
True - most binary formats pick an endianness and other
platforms have to conform. I guess I was thinking about the
rare situation of PPC front/backend combinations, and trying
to avoid the swapping altogether.
I guess we should just decide that .nuv files will always
be little (or non-network) endian, so I will take SWAP_ENDIAN
out of my patch, and add some swapping functions into
NuppelVideoRecorder.cpp
--
Nigel Pearson, nigel at ind.tansu.com.au | "Gentlemen,
Telstra BI&D, Sydney, Australia | you can't fight in here
Office: 8255 4222 Fax: 8255 3153 | - this is the war room!"
Mobile: 0408 664435 Home: 9792 6998 | Dr Strangelove
More information about the mythtv-dev
mailing list