FFmpeg
Functions | Variables
hcom.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

static int hcom_probe (const AVProbeData *p)
 
static int hcom_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_hcom_demuxer
 

Function Documentation

◆ hcom_probe()

static int hcom_probe ( const AVProbeData p)
static

Definition at line 28 of file hcom.c.

◆ hcom_read_header()

static int hcom_read_header ( AVFormatContext s)
static

Definition at line 38 of file hcom.c.

Variable Documentation

◆ ff_hcom_demuxer

const FFInputFormat ff_hcom_demuxer
Initial value:
= {
.p.name = "hcom",
.p.long_name = NULL_IF_CONFIG_SMALL("Macintosh HCOM"),
.read_probe = hcom_probe,
.read_header = hcom_read_header,
.read_packet = ff_pcm_read_packet,
}

Definition at line 85 of file hcom.c.

hcom_probe
static int hcom_probe(const AVProbeData *p)
Definition: hcom.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:106
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:57
hcom_read_header
static int hcom_read_header(AVFormatContext *s)
Definition: hcom.c:38