summaryrefslogtreecommitdiffstats
path: root/libmpdemux/nuppelvideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/nuppelvideo.h')
-rw-r--r--libmpdemux/nuppelvideo.h7
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