moritz at bunkus.org
Fri Jan 11 17:56:28 CET 2013
On Fri, Jan 11, 2013 at 5:51 PM, Dan Hinsley <danhi at cox.net> wrote:
>> it's indeed a 4 byte float. Simply dumped from the memory as it is.
> It appears that I have to turn 0x48185800 into 0x00581848 (switching the
> halfwords, then the bytes within the half words) to get the right answer.
> So this must be some type of Big Endian, Little Endian issue, but I haven’t
> run into it before. Anyway, I should be able to make it work now.
Ok, that was wrong, obviously, as all numeric data types are stored in
big endian in Matroska. So yes, on a little endian machine (which are
almost all desktop computers today) you have to byte-swap accordingly.
More information about the Matroska-users