FFmpeg
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 (const 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 76 of file apc.c.

Function Documentation

◆ apc_probe()

static int apc_probe ( const 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 78 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,
}

Definition at line 86 of file apc.c.

apc_read_packet
static int apc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: apc.c:78
apc_probe
static int apc_probe(const AVProbeData *p)
Definition: apc.c:28
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:188
apc_read_header
static int apc_read_header(AVFormatContext *s)
Definition: apc.c:36