AVIStreamHeader

The AVIStreamHeader structure contains header information for a single stream of a file. It is contained within an 'strh' chunk within a LIST 'strl' chunk that is itself contained within the LIST 'hdrl' chunk at the beginning of an AVI RIFF file.

typedef struct {
    FOURCC   fccType;
    FOURCC   fccHandler;
    ULONG    ulFlags;
    ULONG    ulReserved1;
    ULONG    ulInitialFrames;
    ULONG    ulScale;
    ULONG    ulRate;
    ULONG    ulStart;
    ULONG    ulLength;
    ULONG    ulSuggestedBufferSize;
    ULONG    ulQuality;
    ULONG    ulSampleSize;
    ULONG    Reserved[2];
} AVIStreamHeader;

The AVIStreamHeader structure has the following fields: