User Tools

Site Tools


ffmpeg:av_read_packet

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 av_read_frame() instead.

int av_read_packet(AVFormatContext *s,
                   AVPacket *pkt);

Parameters

s

AVFormatContext *s

Media file handle. A pointer to AVFormatContext.

pkt

AVPacket *pkt

A pointer to the AVPacket to fill.

Return value

0 if OK. AVERROR_xxx if error.


Back to ffmpeg

ffmpeg/av_read_packet.txt · Last modified: 2007/11/22 17:04 by deva