FFmpeg  4.0
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,
}
static int g722_read_header(AVFormatContext *s)
Definition: g722.c:27
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470

Definition at line 49 of file g722.c.