AVInputFormat.read_seek

Seek to a given timestamp relative to the frames in stream component stream_index. @param stream_index Must not be -1. @param flags Selects which direction should be preferred if no exact match is available. @return >= 0 on success (but not necessarily the new offset)

struct AVInputFormat
int function(AVFormatContext*, int stream_index, long timestamp, int flags) read_seek;

Meta