From b45565bdab53b80b4d44901a6c23c6c7a9a0e544 Mon Sep 17 00:00:00 2001 From: ranma Date: Fri, 19 Mar 2004 20:06:30 +0000 Subject: Bigendian macro 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12047 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/aviheader.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'libmpdemux/aviheader.h') diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h index 80449a548b..e5c6fc1c96 100644 --- a/libmpdemux/aviheader.h +++ b/libmpdemux/aviheader.h @@ -172,25 +172,25 @@ enum { (h)->dwSize = le2me_32((h)->dwSize); \ } #define le2me_VideoPropHeader(h) { \ - (h)->VideoFormatToken = le2me_32((h)->VideoFormatToke) \ - (h)->VideoStandrad = le2me_32((h)->VideoStandard) \ - (h)->dwVerticalRefreshRate = le2me_32((h)->dwVerticalRefreshRate) \ - (h)->dwHTotalInT = le2me_32((h)->dwHTotalInT) \ - (h)->dwVTotalInLines = le2me_32((h)->dwVTotalInLines) \ - (h)->dwFrameAspectRatio = le2me_32((h)->dwFrameAspectRatio) \ - (h)->dwFrameWidthInPixels = le2me_32((h)->dwFrameWidthInPixels) \ - (h)->dwFrameHeightInLines = le2me_32((h)->dwFrameHeightInLines) \ - (h)->nbFieldPerFrame = le2me_32((h)->nbFieldPerFrame) \ + (h)->VideoFormatToken = le2me_32((h)->VideoFormatToken); \ + (h)->VideoStandard = le2me_32((h)->VideoStandard); \ + (h)->dwVerticalRefreshRate = le2me_32((h)->dwVerticalRefreshRate); \ + (h)->dwHTotalInT = le2me_32((h)->dwHTotalInT); \ + (h)->dwVTotalInLines = le2me_32((h)->dwVTotalInLines); \ + (h)->dwFrameAspectRatio = le2me_32((h)->dwFrameAspectRatio); \ + (h)->dwFrameWidthInPixels = le2me_32((h)->dwFrameWidthInPixels); \ + (h)->dwFrameHeightInLines = le2me_32((h)->dwFrameHeightInLines); \ + (h)->nbFieldPerFrame = le2me_32((h)->nbFieldPerFrame); \ } #define le2me_VIDEO_FIELD_DESC(h) { \ - (h)->CompressedBMHeight = le2me_32((h)->CompressedBMHeight) \ - (h)->CompressedBMWidth = le2me_32((h)->CompressedBMWidth) \ - (h)->ValidBMHeight = le2me_32((h)->ValidBMHeight) \ - (h)->ValidBMWidth = le2me_32((h)->ValidBMWidth) \ - (h)->ValidBMXOffset = le2me_32((h)->ValidXOffset) \ - (h)->ValidBMYOffset = le2me_32((h)->ValidYOffset) \ - (h)->VideoXOffsetInT = le2me_32((h)->VideoXOffsetInT) \ - (h)->VideoYValidStartLine = le2me_32((h)->VideoYValidStartLine) \ + (h)->CompressedBMHeight = le2me_32((h)->CompressedBMHeight); \ + (h)->CompressedBMWidth = le2me_32((h)->CompressedBMWidth); \ + (h)->ValidBMHeight = le2me_32((h)->ValidBMHeight); \ + (h)->ValidBMWidth = le2me_32((h)->ValidBMWidth); \ + (h)->ValidBMXOffset = le2me_32((h)->ValidBMXOffset); \ + (h)->ValidBMYOffset = le2me_32((h)->ValidBMYOffset); \ + (h)->VideoXOffsetInT = le2me_32((h)->VideoXOffsetInT); \ + (h)->VideoYValidStartLine = le2me_32((h)->VideoYValidStartLine); \ } #else -- cgit v1.2.3