=====av_read_packet===== ====Overview==== **OBSOLETE**\\ Defined in ''avformat.h''\\ Read a transport packet from a media file.\\ This function is obsolete and should never be used.\\ Use [[ffmpeg:av_read_frame()]] instead. int av_read_packet(AVFormatContext *s, AVPacket *pkt); ====Parameters==== ===s=== AVFormatContext *s Media file handle. A pointer to [[ffmpeg:AVFormatContext]]. ===pkt=== AVPacket *pkt A pointer to the [[ffmpeg:AVPacket]] to fill. ====Return value==== 0 if OK. AVERROR_xxx if error. ---- Back to [[ffmpeg:ffmpeg]]