diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-13 17:24:42 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-13 17:24:42 +0000 |
commit | 2d7dbaa10fbdb7cc7985418cc71ae5c775c0a0fe (patch) | |
tree | 1126622054549852c4ae7566ad8c779c37d44423 /libmpdemux/nuppelvideo.h | |
parent | e20ffdf5b682457fa0aadba61c1719e21accd8f0 (diff) | |
download | mpv-2d7dbaa10fbdb7cc7985418cc71ae5c775c0a0fe.tar.bz2 mpv-2d7dbaa10fbdb7cc7985418cc71ae5c775c0a0fe.tar.xz |
(hopefully) fixing remaining float endianness problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15977 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/nuppelvideo.h')
-rw-r--r-- | libmpdemux/nuppelvideo.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libmpdemux/nuppelvideo.h b/libmpdemux/nuppelvideo.h index 44c63384d5..0f89b0c6f2 100644 --- a/libmpdemux/nuppelvideo.h +++ b/libmpdemux/nuppelvideo.h @@ -92,12 +92,13 @@ typedef struct audbuffertype unsigned char *buffer_offset; } audbuffertyp; -#ifdef WORDS_BIGENDIAN #define le2me_rtfileheader(h) { \ (h)->width = le2me_32((h)->width); \ (h)->height = le2me_32((h)->height); \ (h)->desiredwidth = le2me_32((h)->desiredwidth); \ (h)->desiredheight = le2me_32((h)->desiredheight); \ + (h)->aspect = le2me_dbl((h)->aspect); \ + (h)->fps = le2me_dbl((h)->fps); \ (h)->videoblocks = le2me_32((h)->videoblocks); \ (h)->audioblocks = le2me_32((h)->audioblocks); \ (h)->textsblocks = le2me_32((h)->textsblocks); \ @@ -107,8 +108,4 @@ typedef struct audbuffertype (h)->timecode = le2me_32((h)->timecode); \ (h)->packetlength = le2me_32((h)->packetlength); \ } -#else -#define le2me_rtfileheader(h) /**/ -#define le2me_rtframeheader(h) /**/ -#endif |