AVIStreamNextSampleTime

The AVIStreamNextSampleTime macro returns the time that a sample changes to the next sample in the stream. This macro finds the the next interesting time in a stream.

AVIStreamNextSampleTime(
  pavi, 
  time  
);
 

Parameters

pavi
Handle of an open stream.
time
Position information of the sample in the stream.

Return Values

Returns the time if successful or – 1 otherwise.

Remarks

The AVIStreamNextSampleTime macro is defined as follows:

#define AVIStreamNextSampleTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamNextSample(pavi, \ 
    AVIStreamTimeToSample(pavi, t))) 
 

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

AVIFile Functions and Macros Overview, AVIFile Macros