Table of Contents

avcodec_find_decoder

Overview

Defined in avcodec.h

Finds a decoder with a matching codec ID.

AVCodec *avcodec_find_decoder(enum CodecID id);

Parameters

id

enum CodecID id

CodecID of the requested decoder.

Return value

A pointer to an AVCodec, containing a decoder if one was found, NULL otherwise.

See also

avcodec_find_decoder_by_name(), avcodec_find_encoder(), avcodec_find_encoder_by_name()


Back to ffmpeg