FFmpeg  4.0
Data Structures | Functions | Variables
genh.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/internal.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  GENHDemuxContext
 

Functions

static int genh_probe (AVProbeData *p)
 
static int genh_read_header (AVFormatContext *s)
 
static int genh_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_genh_demuxer
 

Function Documentation

◆ genh_probe()

static int genh_probe ( AVProbeData p)
static

Definition at line 32 of file genh.c.

◆ genh_read_header()

static int genh_read_header ( AVFormatContext s)
static

Definition at line 42 of file genh.c.

◆ genh_read_packet()

static int genh_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 154 of file genh.c.

Variable Documentation

◆ ff_genh_demuxer

AVInputFormat ff_genh_demuxer
Initial value:
= {
.name = "genh",
.long_name = NULL_IF_CONFIG_SMALL("GENeric Header"),
.priv_data_size = sizeof(GENHDemuxContext),
.extensions = "genh",
}
static int genh_probe(AVProbeData *p)
Definition: genh.c:32
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int genh_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: genh.c:154
static int genh_read_header(AVFormatContext *s)
Definition: genh.c:42

Definition at line 187 of file genh.c.