[PATCH 1/6] includes: update aviriff header file
Alexandre Julliard
julliard at winehq.org
Mon Apr 14 15:04:26 CDT 2008
"Maarten Lankhorst" <m.b.lankhorst at gmail.com> writes:
> @@ -161,4 +186,135 @@ typedef struct _avimetaindex
> DWORD adwIndex[0];
> } AVIMETAINDEX;
>
> -/* FIXME: index structures missing */
> +#define ckidAVISUPERINDEX FCC('i','n','d','x')
> +typedef struct _avisuperindex {
> + FOURCC fcc;
> + UINT cb;
> + WORD wLongsPerEntry;
> + BYTE bIndexSubType;
> + BYTE bIndexType;
> + DWORD nEntriesInUse;
> + DWORD dwChunkId;
> + DWORD dwReserved[3];
> + struct _avisuperindex_entry {
> + DWORDLONG qwOffset;
> + DWORD dwSize;
> + DWORD dwDuration;
> + } aIndex[0];
> +} AVISUPERINDEX;
Zero-size arrays are not portable, and this is not what the MS header
does anyway.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list