[][src]Function ffmpeg_dev::sys::ff_read_packet

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

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