FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sapdec.c File Reference
#include "avformat.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "network.h"
#include "os_support.h"
#include "internal.h"
#include "avio_internal.h"
#include "url.h"
#include "rtpdec.h"

Go to the source code of this file.

Data Structures

struct  SAPState
 

Macros

#define MIME   "application/sdp"
 

Functions

static int sap_probe (AVProbeData *p)
 
static int sap_read_close (AVFormatContext *s)
 
static int sap_read_header (AVFormatContext *s)
 
static int sap_fetch_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_sap_demuxer
 

Macro Definition Documentation

#define MIME   "application/sdp"

Referenced by sap_read_header().

Function Documentation

static int sap_probe ( AVProbeData p)
static

Definition at line 45 of file sapdec.c.

static int sap_read_close ( AVFormatContext s)
static

Definition at line 52 of file sapdec.c.

Referenced by sap_read_header().

static int sap_read_header ( AVFormatContext s)
static

Definition at line 64 of file sapdec.c.

static int sap_fetch_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 189 of file sapdec.c.

Variable Documentation

AVInputFormat ff_sap_demuxer
Initial value:
= {
.name = "sap",
.long_name = NULL_IF_CONFIG_SMALL("SAP input"),
.priv_data_size = sizeof(struct SAPState),
.read_header = sap_read_header,
.read_packet = sap_fetch_packet,
.read_close = sap_read_close,
.flags = AVFMT_NOFILE,
}

Definition at line 234 of file sapdec.c.