Function ff_read_packet

Source
pub unsafe extern "C" fn ff_read_packet(
    s: *mut AVFormatContext,
    pkt: *mut AVPacket,
) -> c_int
Expand description

Read a transport packet from a media file.

@param s media file handle @param pkt is filled @return 0 if OK, AVERROR_xxx on error