FFmpeg  4.0
Macros | Functions | Variables
apc.c File Reference
#include <string.h>
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define MAX_READ_SIZE   4096
 

Functions

static int apc_probe (AVProbeData *p)
 
static int apc_read_header (AVFormatContext *s)
 
static int apc_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_apc_demuxer
 

Macro Definition Documentation

◆ MAX_READ_SIZE

#define MAX_READ_SIZE   4096

Definition at line 75 of file apc.c.

Referenced by apc_read_packet().

Function Documentation

◆ apc_probe()

static int apc_probe ( AVProbeData p)
static

Definition at line 28 of file apc.c.

◆ apc_read_header()

static int apc_read_header ( AVFormatContext s)
static

Definition at line 36 of file apc.c.

◆ apc_read_packet()

static int apc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 77 of file apc.c.

Variable Documentation

◆ ff_apc_demuxer

AVInputFormat ff_apc_demuxer
Initial value:
= {
.name = "apc",
.long_name = NULL_IF_CONFIG_SMALL("CRYO APC"),
.read_probe = apc_probe,
.read_header = apc_read_header,
.read_packet = apc_read_packet,
}
static int apc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: apc.c:77
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int apc_read_header(AVFormatContext *s)
Definition: apc.c:36
static int apc_probe(AVProbeData *p)
Definition: apc.c:28

Definition at line 86 of file apc.c.