User Tools

Site Tools


ffmpeg:av_read_frame

This is an old revision of the document!


avcodec_decode_video

Overview

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_frame.1195747000.txt.gz · Last modified: 2007/11/22 16:56 by deva