FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
g723_1.c File Reference

G.723.1 demuxer. More...

#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 }
 
AVInputFormat ff_g723_1_demuxer
 

Detailed Description

G.723.1 demuxer.

Definition in file g723_1.c.

Function Documentation

static av_cold int g723_1_init ( AVFormatContext s)
static

Definition at line 34 of file g723_1.c.

static int g723_1_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 54 of file g723_1.c.

Variable Documentation

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().

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",
}
static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: g723_1.c:54
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:487
static av_cold int g723_1_init(AVFormatContext *s)
Definition: g723_1.c:34

Definition at line 79 of file g723_1.c.