[nmglug] magic number

TD strobedream at gmail.com
Sat Aug 13 12:52:38 PDT 2005


well if he accounts for the diff in little endian and big endian it
just means that his magic numbers will be different.

On 8/6/05, Karl Hegbloom <karlheg at laclinux.com> wrote:
> On Sat, 2005-08-06 at 22:09 -0600, Jason Davis wrote:
> > >>20    leshort         85              \b, MPEG Layer 3
> 
> I bet that 'le' means "little endian", meaning that the least signifcant
> bits are in the first byte.  Perhaps your code needs to byte-swap before
> consing the 'short'?
> 
> --
> Karl Hegbloom <karlheg at laclinux.com>
> Los Alamos Computers, Technical Support
> 
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
>




More information about the nmglug mailing list