"Maarten Lankhorst" m.b.lankhorst@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.