Overview
Group
Quick Info

AVIStreamNearestSample

The AVIStreamNearestSample macro locates the nearest nonempty sample at or preceding a specified position in a stream.

AVIStreamNearestSample(

pavi,

lPos

);

Parameters

pavi

Handle of an open stream.

lPos

Starting position to search in the stream.

Return Values

Returns the sample position if successful or -1 otherwise.

Remarks

The AVIStreamNearestSample macro is defined as follows:

#define AVIStreamNearestSample(pavi, lPos) \

AVIStreamFindSample(pavi, lPos, FIND_PREV | FIND_ANY)

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples