FFmpeg
Functions | Variables
g722.c File Reference
#include "avformat.h"
#include "demux.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 FFInputFormat 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 FFInputFormat ff_g722_demuxer
Initial value:
= {
.p.name = "g722",
.p.long_name = NULL_IF_CONFIG_SMALL("raw G.722"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "g722,722",
.p.priv_class = &ff_raw_demuxer_class,
.read_header = g722_read_header,
.raw_codec_id = AV_CODEC_ID_ADPCM_G722,
.priv_data_size = sizeof(FFRawDemuxerContext),
}

Definition at line 46 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:395
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:33
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:141
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