FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
sapenc.c File Reference
#include "avformat.h"
#include "libavutil/parseutils.h"
#include "libavutil/random_seed.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/time.h"
#include "internal.h"
#include "network.h"
#include "os_support.h"
#include "rtpenc_chain.h"
#include "url.h"

Go to the source code of this file.

Data Structures

struct  SAPState
 

Functions

static int sap_write_close (AVFormatContext *s)
 
static int sap_write_header (AVFormatContext *s)
 
static int sap_write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_sap_muxer
 

Function Documentation

static int sap_write_close ( AVFormatContext s)
static

Definition at line 42 of file sapenc.c.

Referenced by sap_write_header().

static int sap_write_header ( AVFormatContext s)
static

Definition at line 69 of file sapenc.c.

static int sap_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 243 of file sapenc.c.

Variable Documentation

AVOutputFormat ff_sap_muxer
Initial value:
= {
.name = "sap",
.long_name = NULL_IF_CONFIG_SMALL("SAP output"),
.priv_data_size = sizeof(struct SAPState),
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = AV_CODEC_ID_MPEG4,
.write_header = sap_write_header,
.write_packet = sap_write_packet,
.write_trailer = sap_write_close,
}

Definition at line 260 of file sapenc.c.