FFmpeg
Loading...
Searching...
No Matches
genh.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  GENHDemuxContext
 

Functions

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

Variables

const FFInputFormat ff_genh_demuxer
 

Function Documentation

◆ genh_probe()

static int genh_probe ( const AVProbeData * p)
static

Definition at line 34 of file genh.c.

◆ genh_read_header()

static int genh_read_header ( AVFormatContext * s)
static

Definition at line 44 of file genh.c.

◆ genh_read_packet()

static int genh_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 170 of file genh.c.

Variable Documentation

◆ ff_genh_demuxer

const FFInputFormat ff_genh_demuxer
Initial value:
= {
.p.name = "genh",
.p.long_name = NULL_IF_CONFIG_SMALL("GENeric Header"),
.p.extensions = "genh",
.priv_data_size = sizeof(GENHDemuxContext),
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
static int genh_probe(const AVProbeData *p)
Definition genh.c:34
static int genh_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition genh.c:170
static int genh_read_header(AVFormatContext *s)
Definition genh.c:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88

Definition at line 204 of file genh.c.