FFmpeg
Functions | Variables
g722.c File Reference
#include "libavutil/avassert.h"
#include "avformat.h"
#include "internal.h"
#include "rawdec.h"

Go to the source code of this file.

Functions

static int g722_read_header (AVFormatContext *s)
 

Variables

const AVInputFormat ff_g722_demuxer
 

Function Documentation

◆ g722_read_header()

static int g722_read_header ( AVFormatContext s)
static

Definition at line 27 of file g722.c.

Variable Documentation

◆ ff_g722_demuxer

const AVInputFormat ff_g722_demuxer
Initial value:
= {
.name = "g722",
.long_name = NULL_IF_CONFIG_SMALL("raw G.722"),
.read_header = g722_read_header,
.extensions = "g722,722",
.raw_codec_id = AV_CODEC_ID_ADPCM_G722,
.priv_data_size = sizeof(FFRawDemuxerContext),
.priv_class = &ff_raw_demuxer_class,
}

Definition at line 49 of file g722.c.

g722_read_header
static int g722_read_header(AVFormatContext *s)
Definition: g722.c:27
AV_CODEC_ID_ADPCM_G722
@ AV_CODEC_ID_ADPCM_G722
Definition: codec_id.h:397
FFRawDemuxerContext
Definition: rawdec.h:36
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:481
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:32
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:140
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106