[MPlayer-cvslog] CVS: main/libmpdemux ebml.c,1.4,1.5

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 19 18:53:19 CEST 2005


Hi,
> thats possible but not portable, see av_{flt|dbl}2int() and av_int2{flt|dbl}() 
> in libavcodec/utils.c for how to do this in a hopefully much more portable 
> way

Annoyingly complicated. And for matroska even a long double variant
would be needed (and at least the long double variant of ldexp seems to
be not so portable, from what I see in the man page :-( ).
Also, at what point and how would you do a portable big/little endian
conversion (for MPlayer I just decided to assume float endianness ==
integer endianness, which seems not to be the case for a few systems)?

Greetings,
Reimar Döffinger




More information about the MPlayer-cvslog mailing list