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

Go to the source code of this file.

Functions

static av_cold int mpeg_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
 
static int mpeg_parse_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_mpeg_audio_dynamic_handler
 
RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler
 

Function Documentation

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

Definition at line 26 of file rtpdec_mpeg12.c.

static int mpeg_parse_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 34 of file rtpdec_mpeg12.c.

Variable Documentation

RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_MP3,
.init = mpeg_init,
.parse_packet = mpeg_parse_packet,
.static_payload_id = 14,
}

Definition at line 59 of file rtpdec_mpeg12.c.

Referenced by av_register_rtp_dynamic_payload_handlers().

RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_VIDEO,
.init = mpeg_init,
.parse_packet = mpeg_parse_packet,
.static_payload_id = 32,
}

Definition at line 67 of file rtpdec_mpeg12.c.

Referenced by av_register_rtp_dynamic_payload_handlers().