AVIStreamDataSize  1NIISXV 

The AVIStreamDataSize macro determines the buffer size, in bytes, needed to retrieve optional header data for a specified stream.

AVIStreamDataSize(

    pavi,

 

    fcc,

 

    plSize

 

   );

 

 

Parameters

pavi

Handle of an open stream.

fcc

Four-character code specifying the stream type.

plSize

Address to contain the buffer size for the optional header data.

 

Return Values

Returns zero if successful or an error otherwise. The return value AVIERR_NODATA indicates the system could not find any data with the specified four-character code.

Remarks

The AVIStreamDataSize macro is defined as follows:

#define AVIStreamDataSize(pavi, fcc, plSize) \

    AVIStreamReadData(pavi, fcc, NULL, plSize)