22 #include "libavutil/channel_layout.h"
AVCodecContext * codec
Codec context associated with this stream.
#define AV_CH_LAYOUT_STEREO
uint8_t * extradata
some codecs need / can use extradata like Huffman tables.
static int afc_read_header(AVFormatContext *s)
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
void * priv_data
Format private data.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
uint64_t channel_layout
Audio channel layout.
static int read_header(FFV1Context *f)
enum AVMediaType codec_type
int sample_rate
samples per second
static int afc_read_packet(AVFormatContext *s, AVPacket *pkt)
AVIOContext * pb
I/O context.
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
AVInputFormat ff_afc_demuxer
int64_t duration
Decoding: duration of the stream, in stream time base.
int channels
number of audio channels
This structure stores compressed data.