FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
rtpdec_mpegts.c File Reference
#include "libavutil/attributes.h"
#include "mpegts.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

struct  PayloadContext
 RTP/JPEG specific private data. More...
 

Functions

static void mpegts_close_context (PayloadContext *data)
 
static av_cold int mpegts_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
 
static int mpegts_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 

Variables

RTPDynamicProtocolHandler ff_mpegts_dynamic_handler
 

Function Documentation

static void mpegts_close_context ( PayloadContext data)
static

Definition at line 33 of file rtpdec_mpegts.c.

static av_cold int mpegts_init ( AVFormatContext ctx,
int  st_index,
PayloadContext data 
)
static

Definition at line 41 of file rtpdec_mpegts.c.

static int mpegts_handle_packet ( AVFormatContext ctx,
PayloadContext data,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t buf,
int  len,
uint16_t  seq,
int  flags 
)
static

Definition at line 50 of file rtpdec_mpegts.c.

Variable Documentation

RTPDynamicProtocolHandler ff_mpegts_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_DATA,
.priv_data_size = sizeof(PayloadContext),
.static_payload_id = 33,
}

Definition at line 92 of file rtpdec_mpegts.c.

Referenced by ff_register_rtp_dynamic_payload_handlers().