FFmpeg
Functions | Variables
g723_1.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/channel_layout.h"
#include "avformat.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 AVInputFormat 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 34 of file g723_1.c.

◆ g723_1_read_packet()

static int g723_1_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 53 of file g723_1.c.

Variable Documentation

◆ frame_size

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

Definition at line 32 of file g723_1.c.

Referenced by g723_1_read_packet().

◆ ff_g723_1_demuxer

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

Definition at line 77 of file g723_1.c.

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