FFmpeg
Functions | Variables
g723_1.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static av_cold int g723_1_init (AVFormatContext *s)
 
static int g723_1_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const uint8_t frame_size [4] = { 24, 20, 4, 1 }
 
const FFInputFormat ff_g723_1_demuxer
 

Detailed Description

G.723.1 demuxer

Definition in file g723_1.c.

Function Documentation

◆ g723_1_init()

static av_cold int g723_1_init ( AVFormatContext s)
static

Definition at line 35 of file g723_1.c.

◆ g723_1_read_packet()

static int g723_1_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 54 of file g723_1.c.

Variable Documentation

◆ frame_size

const uint8_t frame_size[4] = { 24, 20, 4, 1 }
static

Definition at line 33 of file g723_1.c.

Referenced by g723_1_read_packet().

◆ ff_g723_1_demuxer

const FFInputFormat ff_g723_1_demuxer
Initial value:
= {
.p.name = "g723_1",
.p.long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
.p.extensions = "tco,rco,g723_1",
.p.flags = AVFMT_GENERIC_INDEX,
.read_header = g723_1_init,
.read_packet = g723_1_read_packet,
}

Definition at line 78 of file g723_1.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
g723_1_init
static av_cold int g723_1_init(AVFormatContext *s)
Definition: g723_1.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:94
g723_1_read_packet
static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: g723_1.c:54