Function rsmpeg::ffi::av_find_program_from_stream[][src]

pub unsafe extern "C" fn av_find_program_from_stream(
    ic: *mut AVFormatContext,
    last: *mut AVProgram,
    s: i32
) -> *mut AVProgram
Expand description

Find the programs which belong to a given stream.

@param ic media file handle @param last the last found program, the search will start after this program, or from the beginning if it is NULL @param s stream index @return the next program which belongs to s, NULL if no program is found or the last program is not among the programs of ic.