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

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

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 = &g722_demuxer_class,}

Definition at line 50 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:381
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:463
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
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:117