FFmpeg
Functions | Variables
g728dec.c File Reference
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int g728_read_header (AVFormatContext *s)
 
static int g728_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_g728_demuxer
 

Function Documentation

◆ g728_read_header()

static int g728_read_header ( AVFormatContext s)
static

Definition at line 25 of file g728dec.c.

◆ g728_read_packet()

static int g728_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 42 of file g728dec.c.

Variable Documentation

◆ ff_g728_demuxer

const FFInputFormat ff_g728_demuxer
Initial value:
= {
.p.name = "g728",
.p.long_name = NULL_IF_CONFIG_SMALL("raw G.728"),
.p.extensions = "g728",
.p.flags = AVFMT_GENERIC_INDEX,
.read_header = g728_read_header,
.read_packet = g728_read_packet,
.raw_codec_id = AV_CODEC_ID_G728,
}

Definition at line 50 of file g728dec.c.

g728_read_packet
static int g728_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: g728dec.c:42
g728_read_header
static int g728_read_header(AVFormatContext *s)
Definition: g728dec.c:25
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:479
AV_CODEC_ID_G728
@ AV_CODEC_ID_G728
Definition: codec_id.h:556
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:94