Commit da9e5679 authored by Michael Günnewig's avatar Michael Günnewig Committed by Alexandre Julliard

- Fixed end flags while encoding -- only EOI instead of EOL and EOI.

- Fixed 4-bit RLE encoding of keyframes. - Fixed signed/unsigned mismatches. - Added some missing const's.
parent d1957c60
......@@ -36,7 +36,7 @@
#define FOURCC_RLE8 mmioFOURCC('R','L','E','8')
#define FOURCC_MRLE mmioFOURCC('M','R','L','E')
#define WIDTHBYTES(i) ((WORD)((i+31)&(~31))/8) /* ULONG aligned ! */
#define WIDTHBYTES(i) ((WORD)((i+31u)&(~31u))/8u) /* ULONG aligned ! */
#define DIBWIDTHBYTES(bi) WIDTHBYTES((WORD)(bi).biWidth * (WORD)(bi).biBitCount)
typedef struct _CodecInfo {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment