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)))