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

Go to the source code of this file.

Functions

static int sdns_probe (const AVProbeData *p)
 
static int sdns_read_header (AVFormatContext *s)
 
static int sdns_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_sdns_demuxer
 

Function Documentation

◆ sdns_probe()

static int sdns_probe ( const AVProbeData p)
static

Definition at line 28 of file sdns.c.

◆ sdns_read_header()

static int sdns_read_header ( AVFormatContext s)
static

Definition at line 40 of file sdns.c.

◆ sdns_read_packet()

static int sdns_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 76 of file sdns.c.

Variable Documentation

◆ ff_sdns_demuxer

const AVInputFormat ff_sdns_demuxer
Initial value:
= {
.name = "sdns",
.long_name = NULL_IF_CONFIG_SMALL("Xbox SDNS"),
.read_probe = sdns_probe,
.read_header = sdns_read_header,
.read_packet = sdns_read_packet,
.extensions = "sdns",
}

Definition at line 88 of file sdns.c.

sdns_read_header
static int sdns_read_header(AVFormatContext *s)
Definition: sdns.c:40
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:481
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
sdns_read_packet
static int sdns_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sdns.c:76
sdns_probe
static int sdns_probe(const AVProbeData *p)
Definition: sdns.c:28